Click or drag to resize

CPDFHeaderFooter Class

Adds and removes the header & footer.
Inheritance Hierarchy
SystemObject
  ComPDFKit.PDFDocumentCPDFHeaderFooter
    ComPDFKit.PDFDocumentCPDFBates

Namespace:  ComPDFKit.PDFDocument
Assembly:  ComPDFKit.NET (in ComPDFKit.NET.dll) Version: 2.1.0+b8a973db4fce43f68ed31640e557d7c5478d7f58
Syntax
C#
public class CPDFHeaderFooter

The CPDFHeaderFooter type exposes the following members.

Properties
  NameDescription
Public propertyHasHeaderFooter
Whether the document has header & footer.
Top
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 methodReload
Reloads the header & footer.
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