Method FromInches

Namespace
SoftZenPdf
Assembly
SoftZenPdf.dll

FromInches(double, double)

Creates a page size from inches.

public static PageSize FromInches(double width, double height)

Parameters

width double

Width in inches.

height double

Height in inches.

Returns

PageSize

Exceptions

ArgumentOutOfRangeException

A dimension is outside the allowed range.