Spread Windows Forms 7.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 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

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