FTextLayout::GetWrappedDrawSize

Get the size of the text layout after the text has been wrapped, and including the first piece of trailing whitespace for any given soft-wrapped line

Windows
MacOS
Linux

References

Module

Slate

Header

/Engine/Source/Runtime/Slate/Public/Framework/Text/TextLayout.h

Include

#include "Framework/Text/TextLayout.h"

Source

/Engine/Source/Runtime/Slate/Private/Framework/Text/TextLayout.cpp

Syntax

FVector2D GetWrappedDrawSize() const

Remarks

Get the size of the text layout after the text has been wrapped, and including the first piece of trailing whitespace for any given soft-wrapped line

This value is scaled

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