Image.GetOpacity

number Image.GetOpacity (

string ObjectName )

Description

Returns a number representing the opacity of an image object.

Parameters

ObjectName

(string) The name of the image object.

Returns

(number) A value from 0 to 100 representing the opacity of the image object. A value of 100 means the image is completely opaque (fully visible) and the value 0 means the image is completely transparent (invisible). Any values in between means the image is translucent (see through). If an error occurs, -1 will be returned. You can use Application.GetLastError to determine whether this action failed, and why.

ResultVariable

When adding an action with the script editor, you can use this field to specify a variable that the return value will be stored in.

See also: Related Actions