SpreadsheetGear 2023
GetScaledBounds Method (WorkbookDesigner)


SpreadsheetGear.Windows.Forms Namespace > WorkbookDesigner Class : GetScaledBounds Method
Syntax
'Declaration
 
<System.ComponentModel.EditorBrowsableAttribute(EditorBrowsableState.Advanced)>
Protected Overridable Function GetScaledBounds( _
   ByVal bounds As System.Drawing.Rectangle, _
   ByVal factor As System.Drawing.SizeF, _
   ByVal specified As System.Windows.Forms.BoundsSpecified _
) As System.Drawing.Rectangle
'Usage
 
Dim instance As WorkbookDesigner
Dim bounds As System.Drawing.Rectangle
Dim factor As System.Drawing.SizeF
Dim specified As System.Windows.Forms.BoundsSpecified
Dim value As System.Drawing.Rectangle
 
value = instance.GetScaledBounds(bounds, factor, specified)
[System.ComponentModel.EditorBrowsable(EditorBrowsableState.Advanced)]
protected virtual System.Drawing.Rectangle GetScaledBounds( 
   System.Drawing.Rectangle bounds,
   System.Drawing.SizeF factor,
   System.Windows.Forms.BoundsSpecified specified
)

Parameters

bounds
factor
specified
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

WorkbookDesigner Class
WorkbookDesigner Members