'Declaration
Public Property EnabledProgressBar As Boolean
public bool EnabledProgressBar {get; set;}
public read-write property EnabledProgressBar: Boolean;
public function get,set EnabledProgressBar : boolean
Turning this property to true activated the progress bar when loading or saving files using web transfer. If you set this property to false, the progress bar will not display.
'Declaration
Public Property EnabledProgressBar As Boolean
public bool EnabledProgressBar {get; set;}
public read-write property EnabledProgressBar: Boolean;
public function get,set EnabledProgressBar : boolean
'We assume that the GdViewer1 control has been properly integrated. 'Disabling displaying the progress bar. GdViewer1.EnabledProgressBar = False If GdViewer1.DisplayFromHTTP("www.mywebsite.com", "/demo/image.tif", 443) = GdPictureStatus.OK Then 'Do your stuff here. Else MessageBox.Show("This file can't be displayed. Status: " + GdViewer1.GetStat().ToString(), "GdViewer.DisplayFromHTTP") End If
//We assume that the GdViewer1 control has been properly integrated. //Disabling displaying the progress bar. GdViewer1.EnabledProgressBar = false; if (GdViewer1.DisplayFromHTTP("www.mywebsite.com", "/demo/image.tif", 443) == GdPictureStatus.OK) { //Do your stuff here. } else { MessageBox.Show("This file can't be displayed. Status: " + GdViewer1.GetStat().ToString(), "GdViewer.DisplayFromHTTP"); }
GdViewer Class
GdViewer Members
DisplayFromFTP(String,String,String,String,Int32) Method
DisplayFromHTTP(String,String,Int32) Method
SaveDocumentToJPEG(String,String,String,Int32) Method
SaveDocumentToPDF(String,String,String) Method
SaveDocumentToTIFF(String,String,String,TiffCompression) Method