PdfHeaderOptions Class

This class encapsulates the options to control the appearance of the header in the rendered PDF document. The HtmlToPdfConverter class exposes a a reference to an object of this type in PdfHeaderOptions property. If the ShowHeader property of the PdfDocumentOptions object exposed by the PdfDocumentOptions property is false, the header options have no effect.

Definition

Namespace: Winnovative
Assembly: WnvHtmlToPdf_NetCore (in WnvHtmlToPdf_NetCore.dll) Version: 18.0.0
C#
public class PdfHeaderOptions
Inheritance
Object    PdfHeaderOptions

Constructors

PdfHeaderOptionsInitializes a new instance of the PdfHeaderOptions class

Properties

HeaderBackColor The background color of the header.
HeaderHeight Gets or sets the height in points of PDF header. 1 point is 1/72 inch.
PageNumberingPageCountIncrement Gets or sets an increment for the total number of pages displayed using &P; variable in a TextArea element added to the header.
PageNumberingStartIndex Gets or sets the start index for page numbering using the &p; variable in a TextArea element added to the header.

Methods

AddElement Add a PDF element to be rendered in header by the HTML to PDF converter
Equals
(Inherited from Object)
Finalize
(Inherited from Object)
GetHashCode
(Inherited from Object)
GetType
(Inherited from Object)
MemberwiseClone
(Inherited from Object)
ToString
(Inherited from Object)

See Also