Skip to content

PdfPage.PageSize Property

Gets or sets the PDF page size to a predefined value.

C#
public PdfPageSize PageSize { get; set; }

Property Value

PdfPageSize

A PdfPageSize object that specifies a predefined page size.

Remarks

The value returned by this property is matched against predefined page sizes within a certain margin (PdfPageSize.Delta) so the Width and Height properties of the returned object might not match the actual page Width and Height.