SpreadsheetGear 2017
GetPreferredSize Method (WorkbookView)






SpreadsheetGear.Windows.Forms Namespace > WorkbookView Class : GetPreferredSize Method
Syntax
'Declaration
 
<System.ComponentModel.EditorBrowsableAttribute(EditorBrowsableState.Advanced)>
Public Overridable Function GetPreferredSize( _
   ByVal proposedSize As System.Drawing.Size _
) As System.Drawing.Size
'Usage
 
Dim instance As WorkbookView
Dim proposedSize As System.Drawing.Size
Dim value As System.Drawing.Size
 
value = instance.GetPreferredSize(proposedSize)
[System.ComponentModel.EditorBrowsable(EditorBrowsableState.Advanced)]
public virtual System.Drawing.Size GetPreferredSize( 
   System.Drawing.Size proposedSize
)
public function GetPreferredSize( 
    proposedSize: System.Drawing.Size
): System.Drawing.Size; virtual; 
System.ComponentModel.EditorBrowsableAttribute(EditorBrowsableState.Advanced)
public function GetPreferredSize( 
   proposedSize : System.Drawing.Size
) : System.Drawing.Size;
[System.ComponentModel.EditorBrowsable(EditorBrowsableState.Advanced)]
public: virtual System.Drawing.Size GetPreferredSize( 
   System.Drawing.Size proposedSize
) 
[System.ComponentModel.EditorBrowsable(EditorBrowsableState.Advanced)]
public:
virtual System.Drawing.Size GetPreferredSize( 
   System.Drawing.Size proposedSize
) 

Parameters

proposedSize
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