getMargins

Syntax: getMargins(document)

Returns: the document margins, in Lingo Rect format

This command retrieves the margins of a document object. The return value is a Lingo Rect, but the Rect itself is not a valid rectangle; rather, the top, left, bottom, and right values of the Rect are used to return the margin width on each of those sides. The margin measurements are in points (72 points to the inch).