topMargin
Description
Specifies the top margin for HTML print-outs. Cannot be set to be less than the printer's physically unprintable area (unprintableTop), in which case it will be automatically corrected to the minimum allowed value. If top and bottom margins overlap, they will be corrected to default value of 1/10 of page width.
ScriptX uses the default units of measure of the user's system. In a broad network environment default units are certain to vary (they could be either inches or millimeters) so you may wish to specify a fixed unit of measure with the licensed function SetMarginMeasure.
The topMargin property is part of the basic freely-distributable printing subset.
Syntax
printing.topMargin = numMargin
Settings
This is a read/write property.
Applies To
printing
Example
Check out the source code of the ScriptX Advanced Printing and ScriptX Techie Printing examples.
See Also
pageHeight, pageWidth,portrait, rightMargin, topMargin, unprintableBottom, unprintableLeft, unprintableRight, unprintableTop
GetMarginMeasure,PageSetup, Print, PrintHTML, SetMarginMeasure