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.4.0+fc8bb87ea2616e7f35d94e0588d333abae862a7a
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