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



factor
The factor by which the height and width of the control will be scaled.
specified
A System.Windows.Forms.BoundsSpecified value that specifies the bounds of the control to use when defining its size and position.
factor
The factor by which the height and width of the control will be scaled.
specified
A System.Windows.Forms.BoundsSpecified value that specifies the bounds of the control to use when defining its size and position.
Scales a control's location, size, padding and margin.

Syntax

Visual Basic (Declaration) 
<EditorBrowsableAttribute(EditorBrowsableState.Advanced)>
Protected Overridable Sub ScaleControl( _
   ByVal factor As SizeF, _
   ByVal specified As BoundsSpecified _
) 
Visual Basic (Usage)Copy Code
Dim instance As Medical3DControl
Dim factor As SizeF
Dim specified As BoundsSpecified
 
instance.ScaleControl(factor, specified)
C# 
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)]
protected virtual void ScaleControl( 
   SizeF factor,
   BoundsSpecified specified
)
C++/CLI 
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)]
protected:
virtual void ScaleControl( 
   SizeF factor,
   BoundsSpecified specified
) 

Parameters

factor
The factor by which the height and width of the control will be scaled.
specified
A System.Windows.Forms.BoundsSpecified value that specifies the bounds of the control to use when defining its size and position.

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