Click or drag to resize
Pdftools logo

ShrinkToPagePageSize Property

The page size

All output pages are created with that size. The default page orientation is portrait, but if the image fits better, the page is rotated to landscape.

Default value: "A4" (210mm 297mm)


Namespace: PdfTools.Image2Pdf
Assembly: PdfTools (in PdfTools.dll) Version: 1.6.0+e1db8f4bf6125495a2d29513486ea3e61205c81b
Syntax
C#
public Size PageSize { get; set; }

Property Value

Size
Exceptions
ExceptionCondition
ArgumentException[set] The argument is smaller than "3pt 3pt" or larger than "14400pt 14400pt".
See Also