VpeSetPrintOffset

<< Click to Display Table of Contents >>

Navigation:  Printing Functions >

VpeSetPrintOffset

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

VpeHandle hDoc,

VpeCoord offset_x,

VpeCoord offset_y

)

VpeHandle hDoc

Document Handle

VpeCoord offset_x, offset_y

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

Default:

offset_x

= 0  (no offset)

offset_y

= 0  (no offset)

 

See also:

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