Spread Windows Forms 12.0 Product Documentation
SetBoundsFloat Method (ElementWindowless)


FarPoint.Win Assembly > FarPoint.Win Namespace > ElementWindowless Class : SetBoundsFloat Method
X-coordinate of the top left corner of the bounding rectangle (floating-point)
Y-coordinate of the top left corner of the bounding rectangle (floating-point)
Number of pixels in the width of the bounding rectangle (floating-point)
Number of pixels in the height of the bounding rectangle (floating-point)
Sets the bounds of the element to the location and size of the bounding rectangle of the specified dimensions (in floating-point values).
Syntax
'Declaration
 
Protected Overridable Sub SetBoundsFloat( _
   ByVal x As Single, _
   ByVal y As Single, _
   ByVal width As Single, _
   ByVal height As Single _
) 
'Usage
 
Dim instance As ElementWindowless
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 of the top left corner of the bounding rectangle (floating-point)
y
Y-coordinate of the top left corner of the bounding rectangle (floating-point)
width
Number of pixels in the width of the bounding rectangle (floating-point)
height
Number of pixels in the height of the bounding rectangle (floating-point)
See Also

Reference

ElementWindowless Class
ElementWindowless Members