Skip to content

PdfPageSize.GetPredefinedPageSize Method

GetPredefinedPageSize(Double,Double)

Gets the predefined page size that matches the given dimensions.

C#
public static PdfPageSize GetPredefinedPageSize(double width, double height)

Parameters

width Double

Width.

height Double

Height.