- 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.
 
| 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.Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7
  
   
                           
Copy Code