Application.fontNames Property

Parent Object: Application
Defined in namespace "adsk::core" and the header file is <Core/Application/Application.h>

Description

Returns the names of all of the fonts that are available in Fusion when creating text.

Syntax

"application_var" is a variable referencing an Application object.

# Get the value of the property.
propertyValue = application_var.fontNames
"application_var" is a variable referencing an Application object.
#include <Core/Application/Application.h>

// Get the value of the property.
std::vector<string> propertyValue = application_var->fontNames();

Property Value

This is a read only property whose value is an array of type string.

Version

Introduced in version January 2023