DlgBillboard.AddImage

number DlgBillboard.AddImage ( 

number ControlID,

string FilePath,

number Position = -1 )

Example 1

nPos = DlgBillboard.AddImage(CTRL_BILLBOARD_01, _TempLaunchFolder.."\\new_image.png", -1);

Adds the image "new_image.png" at the end of the list of the billboard control whose ID is CTRL_BILLBOARD_01, and stores its insertion position in the variable "nPos."

Example 2

nPos = DlgBillboard.AddImage(CTRL_BILLBOARD_01, _TempLaunchFolder.."\\new_image2.png", 5);

Adds the image "new_image2.png" to the billboard control at position 5, and stores its insertion position in the variable "nPos."

See also:  Related Actions