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
bottomMargin, leftMargin, pageHeight, pageWidth, rightMargin, templateURL, topMargin, unprintableBottom, unprintableLeft, unprintableRight, unprintableTop
PageSetup, Print, PrintSetup, PrintXML, SetMarginMeasure