Spread Windows Forms 17
FarPoint.Win Assembly / FarPoint.Win Namespace / CanvasContainerBase Class / SetBounds Method / SetBounds(Int32,Int32,Int32,Int32) Method


In This Topic
    SetBounds(Int32,Int32,Int32,Int32) Method
    In This Topic
    Sets the bounds of the control to the specified position and size, using 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 CanvasContainerBase
    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
    y
    width
    height
    See Also