'宣言 Public Overloads Shared Function CalculateTextSize( _ ByVal text As String, _ ByVal hotkey As HotkeyPrefix, _ ByVal vertical As Boolean, _ ByVal g As Graphics, _ ByVal font As Font, _ ByRef appearance As AppearanceData, _ ByVal measureString As ImageAndTextUIElement.MeasureStringDelegate, _ ByVal layoutArea As Size _ ) As Size
public static Size CalculateTextSize( string text, HotkeyPrefix hotkey, bool vertical, Graphics g, Font font, ref AppearanceData appearance, ImageAndTextUIElement.MeasureStringDelegate measureString, Size layoutArea )