ESRI.ArcGIS.ADF.Core
ToImage(String,Identity,WebException) Method
See Also  Send Feedback
ESRI.ArcGIS.ADF Namespace > Converter Class > ToImage Method : ToImage(String,Identity,WebException) Method




url
A valid Url of the Image Location to retrieve
identity
Identity used to authenticate with server
exception
Any exception that is thrown while trying to read file.
Retrieve an Image from the string Url

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Function ToImage( _
   ByVal url As String, _
   ByVal identity As Identity, _
   ByRef exception As WebException _
) As Bitmap
Visual Basic (Usage)Copy Code
Dim url As String
Dim identity As Identity
Dim exception As WebException
Dim value As Bitmap
 
value = Converter.ToImage(url, identity, exception)
C# 
public static Bitmap ToImage( 
   string url,
   Identity identity,
   out WebException exception
)

Parameters

url
A valid Url of the Image Location to retrieve
identity
Identity used to authenticate with server
exception
Any exception that is thrown while trying to read file.

Return Value

System.Drawing.Bitmap

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2011 All Rights Reserved.