ImageCommandInput.imageFile Property

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

Description

Gets and sets the full path and file name of the image file. Supported image format is .png Images are displayed in the command dialog using their actual size.

Syntax

"imageCommandInput_var" is a variable referencing an ImageCommandInput object.

# Get the value of the property.
propertyValue = imageCommandInput_var.imageFile

# Set the value of the property.
imageCommandInput_var.imageFile = propertyValue
"imageCommandInput_var" is a variable referencing an ImageCommandInput object.
#include <Core/UserInterface/ImageCommandInput.h>

// Get the value of the property.
string propertyValue = imageCommandInput_var->imageFile();

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

Property Value

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

Version

Introduced in version July 2015