IDesktopPlatform::OpenFontDialog

Opens the "choose font" dialog for the platform

Unreal Engine C++ API Reference > Developer > DesktopPlatform > IDesktopPlatform

References

   
Module DesktopPlatform
Header /Engine/Source/Developer/DesktopPlatform/Public/IDesktopPlatform.h
Include #include "IDesktopPlatform.h"
bool OpenFontDialog
(
    const void * ParentWindowHandle,
    [FString](API\Runtime\Core\Containers\FString) & OutFontName,
    float & OutHeight,
    [EFontImportFlags](API\Developer\DesktopPlatform\EFontImportFlags) & OutFlags
)

Remarks

Opens the "choose font" dialog for the platform true if font choice was successfully selected

Parameters

Name 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

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library