Click or drag to resize
Pdftools logo

RectangleFromPositionAndSize Method

Create a Rectangle object from a Point object as the position of the origin and the size as a Size object.

Namespace: PdfTools.Geometry.Units
Assembly: PdfTools (in PdfTools.dll) Version: 1.5.0+84bd4d36da7e2449ee09fddee89e23a99b6ffcca
Syntax
C#
public static Rectangle FromPositionAndSize(
	Point position,
	Size size
)

Parameters

position  Point
position of origin as a Point object
size  Size
size as a Size object

Return Value

Rectangle
See Also