IDesktopPlatform::OpenFontDialog

Opens the "choose font" dialog for the platform

Windows
MacOS
Linux

References

Module

DesktopPlatform

Header

/Engine/Source/Developer/DesktopPlatform/Public/IDesktopPlatform.h

Include

#include "IDesktopPlatform.h"

Syntax

bool OpenFontDialog
(
    const void * ParentWindowHandle,
    FString & OutFontName,
    float & OutHeight,
    EFontImportFlags & OutFlags
)

Remarks

Opens the "choose font" dialog for the platform

Returns

true if font choice was successfully selected

Parameters

Parameter

Description

ParentWindowHandle

The native handle to the parent window for this dialog

OutFontName

The name of the font

OutHeight

The height of the font

OutFlags

Any special flags the font has been tagged with

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