Promotic

Src - property of the PmgAnimImage object

Description:
The file name with the path to the animated GIF file.
Syntax:
String Src
Note:
Property access for read and write. The default 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 on the next redrawing the panel (see the PmgObject.Refresh method).

This property is also functional in Web panels.
Example:
Displays the Fire01.gif animated image
JavaScriptVBScriptSelect and copy to clipboard

var oImage = pMe.Items("/RImg0");
var sSrc = oImage.Src;   // Reading from the property

oImage.Src = "#pmres:Anim/Fire01.gif";   // Writing into the property

History:
Pm8.02.00: Created
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r.o.