MarginOffset property (IEpnEnhancedOptions)

Visual Basic example

Visual C++ example

 

Syntax

long MarginOffset;

Overview

Refer to Using the OEM Version of ePrint.

Remarks

Gets or sets the margin value to be used when printing using the enhanced printing options. Use this property only if the value of the Margin property is MARGIN_CUSTOM.

This value represents the percent of the margin space to the paper space. For example, if 80 is set for this property, then the margins will be:

Left Margin = 40% of the paper width.
Right Margin = 40% of the paper width.
(Left + Right = 80%)

Top Margin = 40% of the paper height.
Bottom Margin = 40% of the paper height.
(Top + Left = 80%)

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

Elements:

VerticalAlign property, HorizontalAlign property, Layout property, Margin property, Ordering property, Borders property, PrintingMethod property, GutterUnit property, Gutter property, EnhancedOptions property, GutterInside property, Repeat property, BestFit property, RightToLeft property, GutterWidth property, GetDefaultEnhancedOptions method, GetPrinterBatchPrintersList method, SetPrinterBatchPrintersList method

Topics:

ePrint: Enhanced Printing