Spread Windows Forms 7.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 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

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