SetDefOutRect

<< Click to Display Table of Contents >>

Navigation:  Layout Functions >

SetDefOutRect

Previous pageReturn to chapter overviewNext page

Sets the default output rectangle ( = virtual Page Margins), which will be used for each new created page - NOT for the current page.

The output rectangle is very important for use with the AutoBreakMode option of VPE for rendering text.

See "Dynamic Positioning" and "Page Margins" in the Programmer's Manual for details.

method void VPE.SetDefOutRect(

VpeCoord Left,

VpeCoord Top,

VpeCoord Right,

VpeCoord Bottom

)

VpeCoord Left, Top, Right, Bottom

the output rectangle

Remarks:

The method SetOutRect() calls internally SetDefOutRect() and sets the DefOutRect to the same rectangle. Therefore if you need to call SetOutRect() and SetDefOutRect() with different values at the same time, always call SetOutRect() first.

Example:

Doc.SetDefOutRect(3, 3, 19, 25)