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.5.0+84bd4d36da7e2449ee09fddee89e23a99b6ffcca
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