Returns an extent representing the given value in millimeters.
<global>
extent
Name | Type | Description |
---|---|---|
value | number | A numeric value |
This function can be used when assigning a value that should be interpretted as millimeters to an extent property such as width or height.
The following sets the with of a shape to 16 millimeters.
shape.target.width = mm(16);