VpeDefineHeader

<< Click to Display Table of Contents >>

Navigation:  Text Functions >

VpeDefineHeader

Previous pageReturn to chapter overviewNext page

Exactly the same as VpeWriteBox, but the object is inserted automatically on each new page. The string may contain the sequence "@PAGE” which will be replaced by the current page number.

The header is inserted into the document by VPE on the current page and on all successively created pages. This function is intended to be used for very simple headers. For complex headers / footers see "Headers and Footers" in the Programmer's Manual.

void VpeDefineHeader(

VpeHandle hDoc,

VpeCoord x,

VpeCoord y,

VpeCoord x2,

VpeCoord y2,

LPCSTR text

)

VpeHandle hDoc

Document Handle

VpeCoord x, y, x2, y2

position and dimensions

LPCSTR text

the header text to output

Remarks:

After the header has been defined once, it can not be redefined nor deleted.