Edit.getPreferredHeight

Overview | Methods | This Package | All Packages

Edit.getPreferredHeight

Retrieves the preferred height for the edit control.

Syntax

public final int getPreferredHeight()

Return Value

Returns the combined height, in pixels, of a single line of text displayed in the current font plus the borders of the edit control.