/Engine/Source/Runtime/SlateCore/Public/Fonts/FontMeasure.h
Measures the width and height of a passed in string. The height is the maximum height of the largest character in the font/size pair
The width and height of the string.
[UE::Slate::FDeprecateVector2DResult](API\Runtime\SlateCore\Types\FDeprecateVector2DResult) Measure ( const [FString](API\Runtime\Core\Containers\FString) & Text, int32 StartIndex, int32 EndIndex, const [FSlateFontInfo](API\Runtime\SlateCore\Fonts\FSlateFontInfo) & InFontInfo, bool IncludeKerningWithPrecedingChar, float FontScale ) const