Spread Windows Forms 8.0 Product Documentation
GetPreferredSize Method (FpButton)


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

Reference

FpButton Class
FpButton Members

 

 


Copyright © GrapeCity, inc. All rights reserved.