StyledText.getLineHeight

Returns the line height. <p> Note: this API should not be used if a StyleRange attribute causes lines to have different heights (i.e. different fonts, rise, etc). </p>

@return line height in pixel. @exception SWTException <ul> <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li> <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> </ul> @see #getLineHeight(int)

  1. int getLineHeight()
    class StyledText
    int
    getLineHeight
    (
    )
  2. int getLineHeight(int offset)

Meta