Leadtools.Web Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
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.
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
)
Managed Extensions for 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 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also