VpeSetPrintOffsetY

<< Click to Display Table of Contents >>

Navigation:  Printing Functions >

VpeSetPrintOffsetY

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 VpeSetPrintOffsetY(

VpeHandle hDoc,

VpeCoord offset_y

)

VpeHandle hDoc

Document Handle

VpeCoord offset_y

the y-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()