UFont::GetStringHeightAndWidth

Determines the height and width for the passed in string.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/Font.h

Include

#include "Engine/Font.h"

Source

/Engine/Source/Runtime/Engine/Private/Font.cpp

Syntax

void GetStringHeightAndWidth
(
    const FString & InString,
    int32 & Height,
    int32 & Width
) const

Remarks

Determines the height and width for the passed in string.

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