ImageMan.Net Version 3 Summer 2012 Release
GetPreferredSize Method
See Also  Send Feedback
DTI.ImageMan.Winforms Namespace > Viewer Class : GetPreferredSize Method





proposedSize

Glossary Item Box

Syntax

Visual Basic (Declaration) 
<System.ComponentModel.EditorBrowsableAttribute(EditorBrowsableState.Advanced)>
Public Overridable Function GetPreferredSize( _
   ByVal proposedSize As System.Drawing.Size _
) As System.Drawing.Size
Visual Basic (Usage)Copy Code
Dim instance As Viewer
Dim proposedSize As System.Drawing.Size
Dim value As System.Drawing.Size
 
value = instance.GetPreferredSize(proposedSize)
C# 
[System.ComponentModel.EditorBrowsableAttribute(EditorBrowsableState.Advanced)]
public virtual System.Drawing.Size GetPreferredSize( 
   System.Drawing.Size proposedSize
)
JScript 
System.ComponentModel.EditorBrowsableAttribute(EditorBrowsableState.Advanced)
public function GetPreferredSize( 
   proposedSize : System.Drawing.Size
) : System.Drawing.Size;
Managed Extensions for C++ 
[System.ComponentModel.EditorBrowsableAttribute(EditorBrowsableState.Advanced)]
public: virtual System.Drawing.Size GetPreferredSize( 
   System.Drawing.Size proposedSize
) 
C++/CLI 
[System.ComponentModel.EditorBrowsableAttribute(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

© 2014 Data Techniques, Inc. All Rights Reserved.