Image Viewer CP ActiveX Control

LoadImageFromURL

 

Load the image from url.

Public Function LoadImageFromURL( _
   ByVal strURL As String, _
   ByVal iPageNo As Integer
) As Bool

 

Parameter

strURL
   the url of image.

iPageNo
  the page no will loaded, 0 is first page.

Return Value

Return true - successful
Return false- Failed


Example

   

Visual Basic Syntax
ImageViewer1.LoadImageFromURL  "http://www.viscomsoft.com/images/imageviewerpro1.gif", 0