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.10.0+8a8a96de3867b60fd3fc0089ea1028db6add63f1
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