Spread Windows Forms 6.0 Product Documentation
SetBoundsFloat(Single,Single,Single,Single) Method
See Also  Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.DrawingSpace Namespace > PSObject Class > SetBoundsFloat Method : SetBoundsFloat(Single,Single,Single,Single) Method


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

Glossary Item Box

Sets the bounds of the object to the specified position and size.

Syntax

Visual Basic (Declaration) 
Protected Overloads Overrides 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 PSObject
Dim x As Single
Dim y As Single
Dim width As Single
Dim height As Single
 
instance.SetBoundsFloat(x, y, width, height)
C# 
protected override 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

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.