Export (0) Print
Expand All

Graphics.MeasureString Method

Measures the specified string when drawn with the specified Font.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method Supported by the .NET Compact Framework MeasureString(String, Font) Measures the specified string when drawn with the specified Font.
Public method MeasureString(String, Font, SizeF) Measures the specified string when drawn with the specified Font within the specified layout area.
Public method MeasureString(String, Font, Int32) Measures the specified string when drawn with the specified Font.
Public method MeasureString(String, Font, PointF, StringFormat) Measures the specified string when drawn with the specified Font and formatted with the specified StringFormat.
Public method MeasureString(String, Font, SizeF, StringFormat) Measures the specified string when drawn with the specified Font and formatted with the specified StringFormat.
Public method MeasureString(String, Font, Int32, StringFormat) Measures the specified string when drawn with the specified Font and formatted with the specified StringFormat.
Public method MeasureString(String, Font, SizeF, StringFormat, Int32, Int32) Measures the specified string when drawn with the specified Font and formatted with the specified StringFormat.
Top

Community Additions

ADD
Show:
© 2014 Microsoft