DefineHeader

<< Click to Display Table of Contents >>

Navigation:  Text Functions >

DefineHeader

Previous pageReturn to chapter overviewNext page

Exactly the same as WriteBox(), 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.

method void VPE.DefineHeader(

VpeCoord Left,

VpeCoord Top,

VpeCoord Right,

VpeCoord Bottom,

string Text

)

VpeCoord Left, Top, Right, Bottom

position and dimensions

string Text

the header text to output

Remarks:

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