Click or drag to resize
Pdftools logo

AutoMaxPageSize Property

The maximum page size

Each image is scaled individually such that neither the width nor the height exceeds the maximum page size. For landscape images the maximum page size is assumed to be landscape, and equivalently for portrait images.

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


Namespace: PdfTools.Image2Pdf
Assembly: PdfTools (in PdfTools.dll) Version: 1.11.1+7e91adfd8b3958b0a599c3b63ff35d8a15e95be7
Syntax
C#
public Size MaxPageSize { get; set; }

Property Value

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