Click or drag to resize
Pdf Library for .NET

HtmlToPdfOptionsPdfPageSize Property

This property controls the size of the generated document pages.

Namespace:  SelectPdf
Assembly:  Select.HtmlToPdf (in Select.HtmlToPdf.dll) Version: 24.1
Syntax
public PdfPageSize PdfPageSize { get; set; }

Property Value

Type: PdfPageSize
Remarks
The default size of the pdf document pages is A4. When this property is set to Custom, a custom size can be specified for the generated pdf document pages using the PdfPageCustomSize property.
See Also