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



bounds
A System.Drawing.Rectangle that specifies the area for which to retrieve the display bounds.
factor
The height and width of the control's bounds.
specified
One of the values of System.Windows.Forms.BoundsSpecified that specifies the bounds of the control to use when defining its size and position.
bounds
A System.Drawing.Rectangle that specifies the area for which to retrieve the display bounds.
factor
The height and width of the control's bounds.
specified
One of the values of System.Windows.Forms.BoundsSpecified that specifies the bounds of the control to use when defining its size and position.
Retrieves the bounds within which the control is scaled.

Syntax

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

Parameters

bounds
A System.Drawing.Rectangle that specifies the area for which to retrieve the display bounds.
factor
The height and width of the control's bounds.
specified
One of the values of System.Windows.Forms.BoundsSpecified that specifies the bounds of the control to use when defining its size and position.

Return Value

A System.Drawing.Rectangle representing the bounds within which the control is scaled.

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