Skip to content

PDFOptions

Options for converting HTML to PDF with Files.AddPDF.

Remarks

Margins, page sizes and spacings are in millimeters. Set PDFOptions.PageSize for a standard paper size, or PDFOptions.PageWidth and PDFOptions.PageHeight for a custom size. Header and footer HTML can contain the [page] and [topage] placeholders, and other properties of the options fill [name] placeholders.

Capabilities

Layout Options