GetMarginMeasure

Description

Returns current units of measure for print-out margins, either millimeters or inches. Use SetMarginMeasure to switch the default units.

Syntax

units = printing.GetMarginMeasure()

Return Value

Returns the currently-set units of measure. 1 stands for millimeters, 2 for inches.

Applies To

printing

Example

Check out the source code of the ScriptX Advanced Printing and ScriptX Techie Printing examples.

See Also

bottomMarginleftMargin,  pageHeight, pageWidth, rightMargintemplateURL, topMargin, unprintableBottom, unprintableLeft, unprintableRight, unprintableTop

PageSetupPrint, PrintSetupPrintXMLSetMarginMeasure