TextBoxCommandInput.formattedText Property

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

Description

Gets and sets the formatted text displayed in the dialog.

Remarks

Formatted text includes any basic html formatting that has been defined. For example, you can use basic html formatting such as <b>Bold</b>, <i>Italic</i>, and <br /> for a line break. It also supports hyperlinks, which when clicked by the user, Fusion 360 will open the specified URL in the default browser. Hyperlinks are defined using the <a> tag such as "You are using Autodesk's <a href="http://fusion360.autodesk.com">Fusion 360</a>.".

Syntax

"textBoxCommandInput_var" is a variable referencing a TextBoxCommandInput object.

# Get the value of the property.
propertyValue = textBoxCommandInput_var.formattedText

# Set the value of the property.
textBoxCommandInput_var.formattedText = propertyValue
"textBoxCommandInput_var" is a variable referencing a TextBoxCommandInput object.
#include <Core/UserInterface/TextBoxCommandInput.h>

// Get the value of the property.
string propertyValue = textBoxCommandInput_var->formattedText();

// Set the value of the property, where value_var is a string.
bool returnValue = textBoxCommandInput_var->formattedText(value_var);

Property Value

This is a read/write property whose value is a string.

Version

Introduced in version June 2015