PDFOptions¶
Options for PDF generation.
Capabilities¶
Layout Options¶
- PDFOptions.FooterHtml: Gets or sets the HTML content to use as the footer on all pages in the document.
- PDFOptions.FooterSpacing: Gets or sets the space between the footer and the page content. The default is 0.
- PDFOptions.HeaderHtml: Gets or sets the HTML content to use as the header on all pages in the document.
- PDFOptions.HeaderSpacing: Gets or sets the space between the header and the page content. The default is 0.
- PDFOptions.MarginBottom: Gets or sets the bottom margin of the page.
- PDFOptions.MarginLeft: Gets or sets the left margin of the page. The default is '10mm'.
- PDFOptions.MarginRight: Gets or sets the right margin of the page. The default is '10mm'.
- PDFOptions.MarginTop: Gets or sets the top margin of the page.
- PDFOptions.Orientation: Gets or sets the page orientation.
- PDFOptions.PageHeight: Gets or sets the page height.
- PDFOptions.PageSize: Gets or sets the predefined page size. The default is 'A4'.
- PDFOptions.PageWidth: Gets or sets the page width.
- PDFOptions.Style: Gets or sets the CSS style to include in the page.