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


rectInput
Rectangle object containing the bounding rectangle in floating-point dimensions

Glossary Item Box

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

Syntax

Visual Basic (Declaration) 
Public Overloads Overridable Sub SetBounds( _
   ByVal rectInput As RectangleF _
) 
Visual Basic (Usage)Copy Code
Dim instance As ElementWindowless
Dim rectInput As RectangleF
 
instance.SetBounds(rectInput)
C# 
public virtual void SetBounds( 
   RectangleF rectInput
)

Parameters

rectInput
Rectangle object containing the bounding rectangle in floating-point dimensions

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.