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

Unit Point

Unit Measurement Grooper.IP

Defines a point in 2D space using unit-aware values for the X and Y coordinates.

Remarks

Unit Point allows you to specify the X and Y coordinates of a point using unit-aware string values. This is useful in scenarios where positions must be defined in physical or logical units, or as a percentage or pixel value.

Each property ('X' and 'Y') can be configured independently, or you can use shorthand notation to set both coordinates 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 X and Y to the same value: 8px
  • To set X and Y independently: 1in, 2in

Supported Unit Types

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

  • px: Pixels
  • in: Inches
  • pt: Points (1/72 of an inch)
  • cm: Centimeters
  • mm: Millimeters
  • twip: Twentieths of a point (1/1440 of an inch)
  • em: Relative to the current font size (typographic em)
  • %: Percent (context-dependent, typically relative to a parent or container)

When configuring a Unit Point, ensure that the units are appropriate for the context in which the point will be used. The system will automatically convert between units as needed. If both X and Y are set to the same value, you may enter a single value for both.

Examples

  • 8px: Sets both X and Y to 8 pixels.
  • 1in, 2in: Sets X to 1 inch and Y to 2 inches.
  • 10mm, 5mm: Sets X to 10 millimeters and Y to 5 millimeters.
  • 50%, 75%: Sets X to 50% and Y to 75% of the reference dimension.

When configuring a Unit Point, ensure that the units are appropriate for the context in which the point will be used.

Properties

NameTypeDescription

Used By

Notification