Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Engine > UFont
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 |
int32 GetStringHeightSize
(
const TCHAR * Text
) const
Remarks
Calculate the height of the string using this font's default size and scale. the height (in pixels) of the specified text, or 0 if Text was nullptr.
Parameters
Name | Description |
---|---|
Text | the string to size |