Export (0) Print
Expand All

DataGridViewCell.MeasureTextHeight Method

Gets the height, in pixels, of the specified text.

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 Static member MeasureTextHeight(Graphics, String, Font, Int32, TextFormatFlags) Gets the height, in pixels, of the specified text, given the specified characteristics.
Public method Static member MeasureTextHeight(Graphics, String, Font, Int32, TextFormatFlags, Boolean) Gets the height, in pixels, of the specified text, given the specified characteristics. Also indicates whether the required width is greater than the specified maximum width.
Top
Show:
© 2014 Microsoft