Spread Windows Forms 9.0 Product Documentation
SetBoundsFloat Method (ElementWindowless)


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)
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

ElementWindowless Class
ElementWindowless Members

 

 


Copyright © GrapeCity, inc. All rights reserved.