TX Text Control ActiveX

Headers and Footers

Topic

Headers and footers belong to a document or to one of its sections. The TXTextControl members below choose which headers and footers a document or section contains, activate and select them, set their position and style and connect a header or footer to the one of the previous section.

Headers and footers are only visible in page view; the guide page Headers and Footers shows them in use.

Properties

MemberDescription
TXTextControl.HeaderFooterThis property determines which kind of headers and/or footers the document or a section contains.
TXTextControl.HeaderFooterAtInputPosReturns which header or footer owns the current text input position.
TXTextControl.HeaderFooterConnectedToPreviousThis property returns or sets a value specifying whether a header or footer is connected with the header or footer of the previous section.
TXTextControl.HeaderFooterPositionThis property specifies the position of a header or footer.
TXTextControl.HeaderFooterStyleThis property determines how headers and footers can be activated and how activated headers and footers appear on the screen.

Methods

MemberDescription
TXTextControl.HeaderFooterActivateActivates or deactivates a header or footer.
TXTextControl.HeaderFooterSelectThis method determines whether a certain TXTextControl property or method manipulates a header or a footer or the main text.
TXTextControl.PageNumberDialogThis method opens a built-in dialog box to set formatting attributes for the specified page number field.

Events

MemberDescription
TXTextControl.HeaderFooterActivatedOccurs when a header or footer has been activated.
TXTextControl.HeaderFooterDeactivatedOccurs when a header or footer has been deactivated.