up Inquisit Language Reference

pt function

Returns an extent representing the given value in points.

Member of

<global>

Syntax

pt(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 interpretted as points to an extent property such as width or height.

Examples

The following sets the with of a shape to 16 points.

shape.target.width = pt(16);

Copyright Millisecond Software, LLC. All rights reserved.