Export (0) Print
Expand All
0 out of 3 rated this helpful - Rate this topic

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.

  Name Description
Public method 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
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.