IRulersConfig

A structure containing configuration of rulers. See the Markings topic for details.

Properties

Optional customUnitScale

customUnitScale: number

The ratio of the custom unit to points; this parameter is applied only if the unit parameter described above is set to "custom".

Optional enabled

enabled: boolean

Displays rulers.

Optional origin

origin: object

The point of origin relatively to the upper-left corner of the design; the coordinates are measured in the units specified by the unit parameter.

origin declaration

  • X: number
  • Y: number

Optional unit

Rulers measurement unit.