Grooper Help - Version 25.0
25.0.0017 2,127
  • Overview
  • Help Status

Logical Border

Logical Measurement Grooper.IP

Defines the size of a border on each side of a rectangle using logical (unit-aware) values.

Remarks

Logical Border allows you to specify the thickness of the left, top, right, and bottom borders of a rectangle using unit-aware string values. Each side can be configured independently, or you can use shorthand notation to set multiple sides at once.

This class is commonly used in layout, image processing, and document analysis scenarios where border sizes must be specified in logical (physical) units such as inches, points, centimeters, or millimeters, rather than device-dependent units like pixels.

Usage

  • To set all borders to the same value: 12mm
  • To set left/right and top/bottom independently: 0.5in, 0.75in
  • To set each side individually: 10pt, 15pt, 5pt, 8pt

You may enter values directly as a comma-separated string, or expand the property in the UI to edit each side separately.

Supported Unit Types

The following unit types are supported when specifying values for Logical Border:

  • in: Inches
  • pt: Points (1/72 of an inch)
  • cm: Centimeters
  • mm: Millimeters

Note: The px (pixels) and % (percent) units are not supported in Logical Border. Attempting to use these units will result in a validation error.

Examples

  • 10mm: Sets all borders to 10 millimeters.
  • 0.5in, 0.75in: Sets left/right to 0.5 inches, top/bottom to 0.75 inches.
  • 5pt, 10pt, 5pt, 10pt: Sets left to 5pt, top to 10pt, right to 5pt, bottom to 10pt.

When configuring a Logical Border, ensure that the units are appropriate for the logical context in which the border will be used.

Properties

NameTypeDescription

Used By

Notification