VpeSetPrintOffsetX

<< Click to Display Table of Contents >>

Navigation:  Printing Functions >

VpeSetPrintOffsetX

Previous pageReturn to chapter overviewNext page

[Windows platform only; not supported by the Community Edition]

Allows to set a printing offset by code. This offset will be added to all objects in the document while printing. It is especially useful for calibrating printers that return wrong information about their unprintable area.

void VpeSetPrintOffsetX(

VpeHandle hDoc,

VpeCoord offset_x

)

VpeHandle hDoc

Document Handle

VpeCoord offset_x

the x-offset in metric or inch units, values can be positive or negative

Default:

0 (no offset)

 

See also:

"Positioning On the Printer" in the Programmer's Manual and VpeSetPrintPosMode()