LEADTOOLS WebForms and AJAX (Leadtools.Web assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
OpenImageUrl(String) Method
See Also 
Leadtools.Web.Controls Namespace > WebImageViewer Class > OpenImageUrl Method : OpenImageUrl(String) Method



imageUrl
The URL or virtual directory of the image being loaded.
imageUrl
The URL or virtual directory of the image being loaded.
Opens the image from an URL or a virtual path and displays it.

Syntax

Visual Basic (Declaration) 
Overloads Public Sub OpenImageUrl( _
   ByVal imageUrl As String _
) 
Visual Basic (Usage)Copy Code
Dim instance As WebImageViewer
Dim imageUrl As String
 
instance.OpenImageUrl(imageUrl)
C# 
public void OpenImageUrl( 
   string imageUrl
)
C++/CLI 
public:
void OpenImageUrl( 
   String^ imageUrl
) 

Parameters

imageUrl
The URL or virtual directory of the image being loaded.

Example

Remarks

If the imageUrl refers to an URL, the control will download the first page (index 0) to the CacheFolder and display it. Accessing the ImageInfo property returns the name of cached image for this URL.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also