Canvases.itemByName Method

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

Description

Returns the specified canvas using the name of the canvas.

Syntax

"canvases_var" is a variable referencing a Canvases object.
returnValue = canvases_var.itemByName(name)
"canvases_var" is a variable referencing a Canvases object.

#include <Fusion/Image/Canvases.h>

returnValue = canvases_var->itemByName(name);

Return Value

Type Description
Canvas Returns the specified Canvas, if it exists. Otherwise it returns null.

Parameters

Name Type Description
name string The name of the canvas as seen in the browser and timeline.

Version

Introduced in version May 2023