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

Logical Size

Logical Measurement Grooper.IP

Defines the size of a rectangle in terms of width and height using logical (unit-aware) values.

Remarks

Logical Size allows you to specify the width and height of a rectangle using unit-aware string values. This is useful in scenarios where sizes must be defined in logical (physical) units such as inches, points, centimeters, or millimeters, rather than device-dependent units like pixels or percentages.

Each property ('Width' and 'Height') can be configured independently, or you can use shorthand notation to set both dimensions to the same value. You may enter values directly as a comma-separated string, or expand the property in the UI to edit each value separately.

Usage

  • To set both width and height to the same value: 8pt
  • To set width and height independently: 1in, 2in

Supported Unit Types

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

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

Note: The px (pixels), % (percent), twip (twentieths of a point), and em (typographic em) units are not supported in Logical Size. Attempting to use these units will result in a validation error.

Examples

  • 8pt: Sets both width and height to 8 points.
  • 1in, 2in: Sets width to 1 inch and height to 2 inches.
  • 5cm, 10mm: Sets width to 5 centimeters and height to 10 millimeters.

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

Properties

NameTypeDescription

Used By

Notification