Overload | Description |
---|---|
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) |
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8