up Inquisit Language Reference

cm function

Returns an extent representing the given value in centimeters.

Member of

<global>

Syntax

cm(value)

Return Type

extent

Parameters

Name Type Description
value number A numeric value

Remarks

This function can be used when assigning a value that should be interpreted as centimeters to an extent property such as width or height.

Examples

The following sets the with of a shape to 10 centimeters.

shape.target.width = cm(10);

Copyright Millisecond Software, LLC. All rights reserved.