Spread Windows Forms 17
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.DrawingSpace Namespace / UniversalNoShape Class / SetBoundsFloat Method / SetBoundsFloat(Single,Single,Single,Single) 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
    SetBoundsFloat(Single,Single,Single,Single) Method
    In This Topic
    Sets the bounds of the object to the specified position and size.
    Syntax
    'Declaration
     
    
    Protected Overloads Overridable Sub SetBoundsFloat( _
       ByVal x As Single, _
       ByVal y As Single, _
       ByVal width As Single, _
       ByVal height As Single _
    ) 
    'Usage
     
    
    Dim instance As UniversalNoShape
    Dim x As Single
    Dim y As Single
    Dim width As Single
    Dim height As Single
     
    instance.SetBoundsFloat(x, y, width, height)
    protected virtual void SetBoundsFloat( 
       float x,
       float y,
       float width,
       float 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