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 As System.Drawing.PointF, _
ByVal As System.Drawing.SizeF _
)
public ObjectRect(
System.Drawing.PointF ,
System.Drawing.SizeF
)
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