Sets the left, top, right, bottom coordinates of an instance of the object.
Applies to objects: DRect
object.SetRect(left, top, right, bottom) |
The SetRect statement syntax has these parts:
Part | Description |
object | A reference to an instance of the object. |
left, top, right, bottom | The coordinates of the rectanlge, Double values. |
This method offers a faster way of setting the coordinates of a rectangle, rather then setting them for each property separately.
' Create an instance of the object Dim MyObject as new DRect ' Set left,top,right,bottom properties MyObject.SetRect(100,100,1000,1000) |
See Also |
DRect Object |