setTileImageRef method: Tile class

Syntax

setTileImageRef(image_name)

Description

Invoke the setTileImageRef method to specify the image to be displayed when the tile's content type is specified as an image. Invoking this method is equivalent to specifying a value for the ImageReferenceField property. When the tile content is specified to be an image, either this method or the ImageReferenceField property is required.

Parameters

Parameter Description

image_name

Specifies the image ID as a String value.

Returns

None.

Example

REM %This.ImageReferenceField.Value = Image.PTFP_DEFAULT_CLOUD;  /* Property equivalent */

%This.setTileImageRef("PTFP_DEFAULT_CLOUD");
%This.TileImageReferenceLabel("My tooltip");