Spread Windows Forms 9.0 Product Documentation
SetBounds(Int32,Int32,Int32,Int32) Method


X-coordinate of the top left corner of the bounding rectangle (integer)
Y-coordinate of the top left corner of the bounding rectangle (integer)
Number of pixels in the width of the bounding rectangle (integer)
Number of pixels in the height of the bounding rectangle (integer)
Sets the bounds of the element to the location and size of the bounding rectangle of the specified dimensions (in integer values).
Syntax
'Declaration
 
Public Overloads Overridable Sub SetBounds( _
   ByVal x As Integer, _
   ByVal y As Integer, _
   ByVal width As Integer, _
   ByVal height As Integer _
) 
'Usage
 
Dim instance As ElementWindowless
Dim x As Integer
Dim y As Integer
Dim width As Integer
Dim height As Integer
 
instance.SetBounds(x, y, width, height)
public virtual void SetBounds( 
   int x,
   int y,
   int width,
   int height
)

Parameters

x
X-coordinate of the top left corner of the bounding rectangle (integer)
y
Y-coordinate of the top left corner of the bounding rectangle (integer)
width
Number of pixels in the width of the bounding rectangle (integer)
height
Number of pixels in the height of the bounding rectangle (integer)
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

ElementWindowless Class
ElementWindowless Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.