VpeSetOutRect

<< Click to Display Table of Contents >>

Navigation:  Layout Functions >

VpeSetOutRect

Previous pageReturn to chapter overviewNext page

Sets the current output rectangle for the currently active page. (see "Dynamic Positioning" and "Page Margins" in the Programmer's Manual for details)

This method has the same effect like setting each nMargin property separately (see VpeSet).

void VpeSetOutRect(

VpeHandle hDoc,

VpeCoord x,

VpeCoord y,

VpeCoord x2,

VpeCoord y2

)

VpeHandle hDoc

Document Handle

VpeCoord x, y, x2, y2

the output rectangle

Remarks:

This function sets the DefOutRect to the same rectangle automatically.

Example:

VpeSetOutRect(hDoc, 3, 3, 19, 25)