'Declaration
Public Property AnimateGIF As Boolean
public bool AnimateGIF {get; set;}
public read-write property AnimateGIF: Boolean;
public function get,set AnimateGIF : boolean
'Declaration
Public Property AnimateGIF As Boolean
public bool AnimateGIF {get; set;}
public read-write property AnimateGIF: Boolean;
public function get,set AnimateGIF : boolean
At the same, calling the GifPlay method sets this property to true and calling the GifStop method sets this property to false.
'We assume that the GdViewer1 control has been properly integrated. 'Disabling to play the loaded GIF file automatically. GdViewer1.AnimateGIF = False If GdViewer1.DisplayFromFile("image_to_play.gif") = GdPictureStatus.OK Then 'Enabling to play the loaded GIF file in a loop. GdViewer1.AnimateGIF = True End If
//We assume that the GdViewer1 control has been properly integrated. //Disabling to play the loaded GIF file automatically. GdViewer1.AnimateGIF = false; if (GdViewer1.DisplayFromFile("image_to_play.gif") == GdPictureStatus.OK) { //Enabling to play the loaded GIF file in a loop. GdViewer1.AnimateGIF = true; }