DataGate Print File Designer® - Build 8.0.355 and above

PrintFile.TopMargin Property

The TopMargin property indicates the size of the nonprintable area at the top of the page in inches or millimeters depending on the Units property.

control.TopMargin[=integer]

Property Value

Integer.  Gets or sets an integer value indicating the size of the top margin.  The Units property determines if the value is in inches or millimeters.  The default *None indicates the printer's normal default top margin setting will be used as the default.

Remarks

To set the TopMargin property, click on the right side of the property and enter the size of the top margin.  *None indicates the printer's normal default top margin setting will be used.

Note  Each printer device has a minimum top margin size in which output can not physically be printed.  This minimum can vary for each printer device.  It is up to the programmer to ensure the setting of this property is not too narrow and is not set outside the printable area of the page for the printer device being used.

See Also

PrintFile Class | PrintFile Class Members | Units Property | LeftMargin Property