Hotspot.GetSize

table Hotspot.GetSize ( 

string ObjectName )

Example 1

spot_size = Hotspot.GetSize("Hot Water");

Gets the pixel dimensions of the "Hot Water" hotspot object and stores the width and height values in the "spot_size" table. The dimensions can be accessed by referencing spot_size.Width and spot_size.Height.

See also:  Related Actions