Table of Contents

Method GetContainerFontHeight

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

GetContainerFontHeight()

Calculates the height of the font used by the container.

public virtual float GetContainerFontHeight()

Returns

float

The height of the font as a double value.

Remarks

If the container is not available, the current instance is used as the fallback. The height is determined based on the font's metrics and the associated measurement canvas.