Measure

Overload list

Windows
MacOS
Linux
Name Description

Public function Virtual Const

FVector2D

 

Measure

(
    const FString& Text,
    const FSlateFontInfo& InFontInfo,
    float FontScale
)

Measures the width and height of a passed in string.

Public function Virtual Const

FVector2D

 

Measure

(
    const FText& Text,
    const FSlateFontInfo& InFontInfo,
    float FontScale
)

Measures the width and height of a passed in text.

Public function Virtual Const

FVector2D

 

Measure

(
    const FString& Text,
    int32 StartIndex,
    int32 EndIndex,
    const FSlateFontInfo& InFontInfo,
    bool IncludeKerningWithPrecedingCha...,
    float FontScale
)

Measures the width and height of a 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