Canvas.name Property

Parent Object: Canvas
Defined in namespace "adsk::fusion" and the header file is <Fusion/Image/Canvas.h>

Description

Gets and sets the name of the canvas. This is the name seen in the browser and timeline.

Syntax

"canvas_var" is a variable referencing a Canvas object.

# Get the value of the property.
propertyValue = canvas_var.name

# Set the value of the property.
canvas_var.name = propertyValue
"canvas_var" is a variable referencing a Canvas object.
#include <Fusion/Image/Canvas.h>

// Get the value of the property.
string propertyValue = canvas_var->name();

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

Property Value

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

Version

Introduced in version May 2023