CanvasInput.imageFilename Property
Parent Object:
CanvasInputDefined in namespace "adsk::fusion" and the header file is <Fusion/Image/CanvasInput.h>
Description
Gets and sets the filename of the image used for the canvas.
When setting this property, it is the full filename to the image to use for the canvas. PNG, JPEG, and TIFF files are supported.
Syntax
"canvasInput_var" is a variable referencing a CanvasInput object.
# Get the value of the property. propertyValue = canvasInput_var.imageFilename
# Set the value of the property. canvasInput_var.imageFilename = propertyValue
|
"canvasInput_var" is a variable referencing a CanvasInput object.
#include <Fusion/Image/CanvasInput.h>
// Get the value of the property. string propertyValue = canvasInput_var->imageFilename();
// Set the value of the property, where value_var is a string. bool returnValue = canvasInput_var->imageFilename(value_var);
|
Property Value
This is a read/write property whose value is a string.
Version
Introduced in version May 2023