Spread Windows Forms 17
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.DrawingSpace Namespace / PSObject Class / SetBounds Method / SetBounds(Int32,Int32,Int32,Int32) Method
X-coordinate for bounding rectangle's top-left corner
Y-coordinate for bounding rectangle's top-left corner
Width of bounding rectangle in pixels
Height of bounding rectangle in pixels


In This Topic
    SetBounds(Int32,Int32,Int32,Int32) Method
    In This Topic
    Sets the bounds of the object to the specified position and size.
    Syntax
    'Declaration
     
    
    Public Overloads Overrides Sub SetBounds( _
       ByVal x As Integer, _
       ByVal y As Integer, _
       ByVal width As Integer, _
       ByVal height As Integer _
    ) 
    'Usage
     
    
    Dim instance As PSObject
    Dim x As Integer
    Dim y As Integer
    Dim width As Integer
    Dim height As Integer
     
    instance.SetBounds(x, y, width, height)
    public override void SetBounds( 
       int x,
       int y,
       int width,
       int 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
    See Also