Documents for PDF, .NET Edition Documentation
ObjectRect Constructor(PointF,SizeF)

GrapeCity.Documents.Common Assembly > GrapeCity.Documents.Text Namespace > ObjectRect Class > ObjectRect Constructor : ObjectRect Constructor(PointF,SizeF)
A System.Drawing.PointF that represents the upper-left corner of the rectangle.
A System.Drawing.SizeF that represents the size of the rectangle.
Initializes a new instance of the ObjectRect class with the specified location and size.
Syntax
'Declaration
 
Public Function New( _
   ByVal pt As System.Drawing.PointF, _
   ByVal sz As System.Drawing.SizeF _
)
public ObjectRect( 
   System.Drawing.PointF pt,
   System.Drawing.SizeF sz
)

Parameters

pt
A System.Drawing.PointF that represents the upper-left corner of the rectangle.
sz
A System.Drawing.SizeF that represents the size of the rectangle.
See Also

Reference

ObjectRect Class
ObjectRect Members
Overload List