Spread Windows Forms 7.0 Product Documentation
SetBoundsFloat(Single,Single,Single,Single,Boolean,Boolean) Method
See Also  Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.DrawingSpace Namespace > LineShape Class > SetBoundsFloat Method : SetBoundsFloat(Single,Single,Single,Single,Boolean,Boolean) 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
adjustRegion
Whether to adjust the region
recursive
Whether to check recursively for each element

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, _
   ByVal adjustRegion As Boolean, _
   ByVal recursive As Boolean _
) 
Visual Basic (Usage)Copy Code
Dim instance As LineShape
Dim x As Single
Dim y As Single
Dim width As Single
Dim height As Single
Dim adjustRegion As Boolean
Dim recursive As Boolean
 
instance.SetBoundsFloat(x, y, width, height, adjustRegion, recursive)
C# 
protected override void SetBoundsFloat( 
   float x,
   float y,
   float width,
   float height,
   bool adjustRegion,
   bool recursive
)

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
adjustRegion
Whether to adjust the region
recursive
Whether to check recursively for each element

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.