Margin property (IEpnEnhancedOptions)
MarginConstants Margin; | |
Overview |
Refer to Using the OEM Version of ePrint. |
Remarks
Gets or sets the margin to be used when printing using the enhanced printing options. Possible values are:
Value |
Meaning |
MARGIN_NONE |
Do not use margins. This is the default value. |
MARGIN_TINY |
Use tiny margin. |
MARGIN_SMALL |
Use small margin. |
MARGIN_MEDIUM |
Use medium margin. |
MARGIN_LARGE |
Use large margin. |
MARGIN_PRINTERDEFAULT |
Use the printer's default margin. |
MARGIN_CUSTOM |
Use custom margin. The user should pass a value to the MarginOffset property. This value represents the percent of the margin space to the paper space. For example, if 80 is passed to MarginOffset, then the margins will be: Left Margin = 40% of the paper width. Top Margin = 40% of the paper height. |
Support for Basic functionality must be unlocked by calling the UnlockSupport method before using this method.
The following methods update this property:
GetDefaultEnhancedOptions method
GetPrinterBatchPrintersList method
To update the enhanced printing options of a batch printer found in the batch printers list, set this property and the other IEpnEnhancedOptions properties accessed by the EnhancedOptions property (IEpnBatchPrinterInfo) and call the SetPrinterBatchPrintersList method.
See Also