ESRI.ArcGIS.ADF
ToImage(String,Identity,WebException) Method
See Also  Send comments on this topic.
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

Bitmap

See Also

© 2010 All Rights Reserved.