Method FromMillimeters

Namespace
SoftZenPdf
Assembly
SoftZenPdf.dll

FromMillimeters(double, double)

Creates a page size from millimetres.

public static PageSize FromMillimeters(double width, double height)

Parameters

width double

Width in millimetres.

height double

Height in millimetres.

Returns

PageSize

Exceptions

ArgumentOutOfRangeException

A dimension is outside the allowed range.