Promotic
WikipediaLinkedInYoutubeTwitterFacebook

Src - property of object PmiAnimImage

Description:
Name and path to the animated GIF file.
Syntax:
Src As String
Calling:
s = oImage.Src
Note:
Property access for read and write. The preset value of this property is defined in the File configurator of this object. It is recommended to always use the path with #pmres: or #appres:.

After writing the pathname of the image file (svg, jpg, png, bmp, wmf..), this new image will be displayed by the graphic item on the next redrawing the panel (see PmiItem.Refresh).

 
This property is also functional for Web Panels. (For the MSIE 8 and older browser versions, the property is not functional directly in the script and must be assigned/read by using the SetProp/GetProp methods.)
Example:
Displaying the Fire01.gif animated image
oImage.Src = "#pmres:Anim/Fire01.gif"
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice