SetPrintOffset

<< Click to Display Table of Contents >>

Navigation:  Printing Functions >

SetPrintOffset

Previous pageReturn to chapter overviewNext page

[Windows platform only; not supported by PHP and 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.

method void VPE.SetPrintOffset(

VpeCoord OffsetX,

VpeCoord OffsetY

)

VpeCoord OffsetX, OffsetY

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

Default:

OffsetX

= 0  (no offset)

OffsetY

= 0  (no offset)

 

See also:

"Positioning On the Printer" in the Programmer's Manual

PrintPosMode