Spread Windows Forms 17
FarPoint.Win Assembly / FarPoint.Win Namespace / ElementWithButtons Class / SetBoundsFloat Method
X-coordinate of the top left corner of the bounding rectangle
Y-coordinate of the top left corner of the bounding rectangle
Number of pixels in the width of the bounding rectangle
Number of pixels in the height of the bounding rectangle


In This Topic
    SetBoundsFloat Method (ElementWithButtons)
    In This Topic
    Sets the bounds of the element to the location and size of the bounding rectangle of the specified dimensions.
    Syntax
    'Declaration
     
    
    Protected Overrides Sub SetBoundsFloat( _
       ByVal x As Single, _
       ByVal y As Single, _
       ByVal width As Single, _
       ByVal height As Single _
    ) 
    'Usage
     
    
    Dim instance As ElementWithButtons
    Dim x As Single
    Dim y As Single
    Dim width As Single
    Dim height As Single
     
    instance.SetBoundsFloat(x, y, width, height)
    protected override void SetBoundsFloat( 
       float x,
       float y,
       float width,
       float height
    )

    Parameters

    x
    X-coordinate of the top left corner of the bounding rectangle
    y
    Y-coordinate of the top left corner of the bounding rectangle
    width
    Number of pixels in the width of the bounding rectangle
    height
    Number of pixels in the height of the bounding rectangle
    See Also