expression

app.project.item(index).layer(index).propertySpec.expression

Description

The expressionfor the named property. Writeable only when canSetExpression for the named property is true. When you specify a value for this attribute, the string is evaluated.

• If the string contains a valid expression, expressionEnabled becomes true.
• If the string does not contain a valid expression, an error is generated, and expressionEnabled becomes
false.
• If you set the attribute to the empty string, expressionEnabled becomes false, but no error is generated.

Type

String; read/write if canSetExpression for the named property is true.

Other Tags

Posted in Property object and tagged , , , , , , , .