SpreadsheetGear 2012
GetScaledBounds Method (WorkbookView)






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 WorkbookView
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
)
protected function GetScaledBounds( 
    bounds: System.Drawing.Rectangle;
    factor: System.Drawing.SizeF;
    specified: System.Windows.Forms.BoundsSpecified
): System.Drawing.Rectangle; virtual; 
System.ComponentModel.EditorBrowsableAttribute(EditorBrowsableState.Advanced)
protected function GetScaledBounds( 
   bounds : System.Drawing.Rectangle,
   factor : System.Drawing.SizeF,
   specified : System.Windows.Forms.BoundsSpecified
) : System.Drawing.Rectangle;
[System.ComponentModel.EditorBrowsable(EditorBrowsableState.Advanced)]
protected: virtual System.Drawing.Rectangle GetScaledBounds( 
   System.Drawing.Rectangle bounds,
   System.Drawing.SizeF factor,
   System.Windows.Forms.BoundsSpecified 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

WorkbookView Class
WorkbookView Members

Send Feedback