|

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


image

image

Image.GetOpacity

OverviewExamples

number Image.GetOpacity ( string ObjectName )


De s cr ip t ion


Returns a number representing the opacity of an image object.


P arame t er s


ObjectName


(string) The name of the image object.


Re t u r n s


(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.


|