FSlateFontMeasure::GetMaxCharacterHeight

Returns the height of the largest character in the font.

Windows
MacOS
Linux

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Fonts/FontMeasure.h

Include

#include "Fonts/FontMeasure.h"

Source

/Engine/Source/Runtime/SlateCore/Private/Fonts/FontMeasure.cpp

Syntax

uint16 GetMaxCharacterHeight
(
    const FSlateFontInfo & InFontInfo,
    float FontScale
) const

Remarks

Returns the height of the largest character in the font.

Returns

The largest character height

Parameters

Parameter

Description

InFontInfo

A descriptor of the font to get character size for

FontScale

The scale to apply to the font

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss