Dundas Chart for Windows Forms
SetBounds(Int32,Int32,Int32,Int32,BoundsSpecified) Method
See Also  Send comments on this topic.
DundasWinChart Assembly > Dundas.Charting.WinControl Namespace > Chart Class > SetBounds Method : SetBounds(Int32,Int32,Int32,Int32,BoundsSpecified) Method


x
The new Left property value of the control.
y
The new Top property value of the control.
width
The new Width property value of the control.
height
The new Height property value of the control.
specified
A bitwise combination of the BoundsSpecified values. For any parameter not specified, the current value will be used.
Sets the specified bounds of the control to the specified location and size.

Syntax

Visual Basic (Declaration)  
Public Overloads Sub SetBounds( _
   ByVal x As Integer, _
   ByVal y As Integer, _
   ByVal width As Integer, _
   ByVal height As Integer, _
   ByVal specified As BoundsSpecified _
) 
Visual Basic (Usage) Copy Code
Dim instance As Chart
Dim x As Integer
Dim y As Integer
Dim width As Integer
Dim height As Integer
Dim specified As BoundsSpecified
 
instance.SetBounds(x, y, width, height, specified)
C#  
public void SetBounds( 
   int x,
   int y,
   int width,
   int height,
   BoundsSpecified specified
)

Parameters

x
The new Left property value of the control.
y
The new Top property value of the control.
width
The new Width property value of the control.
height
The new Height property value of the control.
specified
A bitwise combination of the BoundsSpecified values. For any parameter not specified, the current value will be used.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2009 All Rights Reserved.