SetBoundsFloat(Single,Single,Single,Single,Boolean) Method
In This Topic
Sets the bounds of the object to the specified position and size.
Syntax
'Declaration
Protected Overloads Overridable Sub SetBoundsFloat( _
ByVal As Single, _
ByVal As Single, _
ByVal As Single, _
ByVal As Single, _
ByVal As Boolean _
)
'Usage
Dim instance As UniversalNoShape
Dim x As Single
Dim y As Single
Dim width As Single
Dim height As Single
Dim adjustRegion As Boolean
instance.SetBoundsFloat(x, y, width, height, adjustRegion)
protected virtual void SetBoundsFloat(
float ,
float ,
float ,
float ,
bool
)
Parameters
- x
- X-coordinate for bounding rectangle's top-left corner
- y
- Y-coordinate for bounding rectangle's top-left corner
- width
- Width of bounding rectangle in pixels
- height
- Height of bounding rectangle in pixels
- adjustRegion
- Whether to adjust the region
See Also