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


rectInput
Rectangle object containing the bounding rectangle in integer dimensions

Glossary Item Box

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

Syntax

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

Parameters

rectInput
Rectangle object containing the bounding rectangle in integer 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.