SetMarginMeasure
Description
Sets the units of measure for print-out margins.
Syntax
printing.SetMarginMeasure(units)
Parameter | Description |
---|---|
units | (Number) 1 stands for millimeters, 2 for inches. |
- 'How To' Guides
- ScriptX.Services
- Security Manager
- ScriptX.Add-on
- Technical Reference
- ScriptX.Services
- Security Manager
- ScriptX.Add-on
- factory
- printing
- AddPrinterConnection
- BatchPrintPDF
- BatchPrintPDFEx
- bottomMargin
- collate
- copies
- currentPrinter
- DefaultPrinter
- disableUI
- duplex
- duplex2
- EnumJobs
- EnumPrinters
- footer
- GetJobsCount
- GetMarginMeasure
- header
- headerFooterFont
- IsSpooling
- IsTemplateSupported
- leftMargin
- onafterprint
- onbeforeprint
- onbeforeunload
- onpagesetup
- onuserpagesetup
- onuserprint
- onuserprintpreview
- orientation
- OwnQueue
- pageHeight
- PageSetup
- pageWidth
- paperSize
- paperSource
- paperSource2
- portrait
- Preview
- printBackground
- printer
- PrintHTML
- PrintHTMLEx
- PrintPDF
- PrintSetup
- printToFileName
- RemovePrinterConnection
- rightMargin
- SetMarginMeasure
- SetPageRange
- SetPreviewZoom
- SetPrintScale
- Sleep
- templateURL
- topMargin
- TotalPrintPages
- unprintableBottom
- unprintableLeft
- unprintableRight
- unprintableTop
- WaitForSpoolingComplete
- printerControl
- Job
- enhancedFormatting
- rawPrinting
- Change and history logs
- Articles