Click or drag to resize

CPDFHeaderFooter Methods

The CPDFHeaderFooter type exposes the following members.

Methods
  NameDescription
Public methodClear
Removes the header & footer.
Public methodGetFontName
Gets the font name of the header & footer at the specified index.
Public methodGetFontSize
Gets the font size of the header & footer at the specified index.
Public methodGetMargin
Gets the margins of the header & footer.
Public methodGetPageOffset
Gets the start page number of the header & footer.
Public methodGetPages
Gets the page range of the header & footer by string, such as "0,3,5-7".
Public methodGetText
Gets the text of the header & footer at the specified index.
Public methodGetTextColor
Gets the font color of the header & footer at the specified index.
Public methodIsValid
Whether object is valid, false means the object resource is released, you cannot use the object to call any method.
Public methodRelease
Releases header & footer object resource.
Public methodSetFontName
Sets the font name of the header & footer at the specified index.
Public methodSetFontSize
Sets the font size of the header & footer at the specified index.
Public methodSetMargin
Sets the margins of the header & footer.
Public methodSetPageOffset
Sets the start page number of the header & footer.
Public methodSetPages
Gets the page range of the header & footer by string, such as "0,3,5-7".
Public methodSetText
Sets the text of the header & footer at the specified index.
Public methodSetTextColor
Sets the font color of the header & footer at the specified index.
Public methodUpdate
Updates the header & footer.
Top
See Also