Spread Windows Forms 6.0 Product Documentation
SetBoundsFloat Method
See Also  Support Options
FarPoint.Win Assembly > FarPoint.Win Namespace > ElementWindowless Class : SetBoundsFloat Method


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)

Glossary Item Box

Sets the bounds of the element to the location and size of the bounding rectangle of the specified dimensions (in floating-point values).

Syntax

Visual Basic (Declaration) 
Protected Overridable Sub SetBoundsFloat( _
   ByVal x As Single, _
   ByVal y As Single, _
   ByVal width As Single, _
   ByVal height As Single _
) 
Visual Basic (Usage)Copy Code
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)
C# 
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 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2002-2012 ComponentOne, a division of GrapeCity. All Rights Reserved.