Sets the bounds of the object to the specified position and size.
Syntax
Visual Basic (Usage) | Copy Code |
---|
Dim instance As PSObject
Dim x As Single
Dim y As Single
Dim width As Single
Dim height As Single
instance.SetBoundsFloat(x, y, width, height) |
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
Requirements
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8
See Also