Document Solutions for Imaging
GrapeCity.Documents.Imaging 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.

In This Topic
    ObjectRect Constructor(PointF,SizeF)
    In This Topic
    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