UCanvas::WrappedStrLenf

Calculate the size of a string built from a font, word wrapped to a specified region.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/Canvas.h

Include

#include "Engine/Canvas.h"

Source

/Engine/Source/Runtime/Engine/Private/UserInterface/Canvas.cpp

Syntax

void WrappedStrLenf
(
    const UFont * Font,
    float ScaleX,
    float ScaleY,
    int32 & XL,
    int32 & YL,
    const TCHAR * Fmt,
    ...
)

Remarks

Calculate the size of a string built from a font, word wrapped to a specified region.

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