LEADTOOLS Medical (Leadtools.Medical3D assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
SetBounds(Int32,Int32,Int32,Int32,BoundsSpecified) Method
See Also 
Leadtools.Medical3D Namespace > Medical3DControl Class > SetBounds Method : SetBounds(Int32,Int32,Int32,Int32,BoundsSpecified) Method



x
The new System.Windows.Forms.Control.Left property value of the control.
y
The new System.Windows.Forms.Control.Top property value of the control.
width
The new System.Windows.Forms.Control.Width property value of the control.
height
The new System.Windows.Forms.Control.Height property value of the control.
specified
A bitwise combination of the System.Windows.Forms.BoundsSpecified values. For any parameter not specified, the current value will be used.
x
The new System.Windows.Forms.Control.Left property value of the control.
y
The new System.Windows.Forms.Control.Top property value of the control.
width
The new System.Windows.Forms.Control.Width property value of the control.
height
The new System.Windows.Forms.Control.Height property value of the control.
specified
A bitwise combination of the System.Windows.Forms.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) 
Overloads Public 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 Medical3DControl
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
)
C++/CLI 
public:
void SetBounds( 
   int x,
   int y,
   int width,
   int height,
   BoundsSpecified specified
) 

Parameters

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

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Medical3D requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features