Click or drag to resize
Pdftools logo

SizeParse Method

Create a Size object from length measurements or standard paper sizes.

Namespace: PdfTools.Geometry.Units
Assembly: PdfTools (in PdfTools.dll) Version: 1.6.0+e1db8f4bf6125495a2d29513486ea3e61205c81b
Syntax
C#
public static Size Parse(
	string value
)

Parameters

value  String
Allowed values are: The paper sizes "A3", "A4" and "A5" form the A series defined by ISO 216 standard, and "Letter" and "Legal" which are mainly used in North America. Also allowed are value-unit pairs of the form "<width_value><width_unit> <height_value><height_unit>". Example: "12.3cm 23.9mm".

Return Value

Size
See Also