Spread Windows Forms 6.0 Product Documentation
GetPreferredSize Method
See Also  Support Options
FarPoint.Win Assembly > FarPoint.Win Namespace > FpButton Class : GetPreferredSize Method


Glossary Item Box

Calculates the height and width required to display the button text and picture. Calculates the height and width required to display the control.

Overload List

OverloadDescription
GetPreferredSize(Graphics,Size,Font,String,String,ButtonTextAlign,Boolean,Int32,Image,Image)Calculates the height and width required to display the button text and picture.  
GetPreferredSize(Graphics,Size,Font,String,String,ButtonTextAlign,TextOrientation,Boolean,Int32,Image,Image,HotkeyPrefix)Calculates the height and width required to display the button text and picture.  
GetPreferredSize(Graphics,Size,Font,String,String,ButtonTextAlign,TextOrientation,Boolean,Int32,Image,Image,HotkeyPrefix,Double)Calculates the height and width required to display the button text and picture.  
GetPreferredSize(Size)Retrieves the size of a rectangular area into which a control can be fitted. (Inherited from System.Windows.Forms.Control)

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

© 2002-2012 ComponentOne, a division of GrapeCity. All Rights Reserved.