HtmlUtilEstimateTextHeight Method

Return the estimated text height, in pixels.

Definition

Namespace: Html
Assembly: Html (in Html.dll) Version: 25.3013.4544
C#
public static float EstimateTextHeight(
	string text,
	string fontSize
)

Parameters

text  String
The text to measure.
fontSize  String
The size of the font, with units.

Return Value

Single
The height of the text.

See Also