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

Unit Rectangle

Unit Measurement Grooper.IP

Defines a rectangle in terms of left, top, width, and height using unit-aware values.

Remarks

Unit Rectangle allows you to specify the position and size of a rectangle using unit-aware string values for each edge and dimension. This is useful in scenarios where rectangles must be defined in physical or logical units, or as a percentage or pixel value.

Each property ('Left', 'Top', 'Width', 'Height') can be configured independently, or you can use shorthand notation to set all or some values at once. 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 all values in pixels: 10px, 15px, 5px, 8px
  • To use percentages: 10%, 10%, 80%, 80%
  • To use mixed units: 1in, 2cm, 100pt, 25mm

Supported Unit Types

The following unit types are supported when specifying values for Unit Rectangle:

  • px: Pixels
  • in: Inches
  • pt: Points (1/72 of an inch)
  • cm: Centimeters
  • mm: Millimeters
  • %: Percent (relative to the page or container size)

When configuring a Unit Rectangle, ensure that the units are appropriate for the context in which the rectangle will be used. The system will automatically convert between units as needed. If all values are set to the same value, you may enter a single value for all.

Examples

  • 10px, 15px, 5px, 8px: Sets left, top, width, and height in pixels.
  • 1in, 2in, 3in, 4in: Sets all values in inches.
  • 10%, 10%, 80%, 80%: Defines a rectangle as a percentage of the page or container.

Properties

NameTypeDescription
Notification