![Pdftools logo](../icons/pdftools-icon.png) | 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.UnitsAssembly: PdfTools (in PdfTools.dll) Version: 1.6.0+e1db8f4bf6125495a2d29513486ea3e61205c81b
Syntaxpublic 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