MeasureTextHeight Method
TOC
Collapse the table of content
Expand the table of content

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.

  NameDescription
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

Community Additions

ADD
Show:
© 2016 Microsoft