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.7.0+cfcc11b476b3e1eb4320f0f37269191f64e36bd8
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