ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer
ToAdfMapImage Method
See Also 
ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer Namespace > Converter Class : ToAdfMapImage Method




agsMap
The ArcGIS Server MapImage to convert.
imageFormat
The Web ADF ImageFormat to use (JPG, PNG8, etc.).
Converts an ArcGIS Server MapImage to a Web ADF MapImage.

Syntax

Visual Basic (Declaration) 
Public Shared Function ToAdfMapImage( _
   ByVal agsMap As MapImage, _
   ByVal imageFormat As ImageFormat _
) As MapImage
Visual Basic (Usage)Copy Code
Dim agsMap As MapImage
Dim imageFormat As ImageFormat
Dim value As MapImage
 
value = Converter.ToAdfMapImage(agsMap, imageFormat)
C# 
public static MapImage ToAdfMapImage( 
   MapImage agsMap,
   ImageFormat imageFormat
)

Parameters

agsMap
The ArcGIS Server MapImage to convert.
imageFormat
The Web ADF ImageFormat to use (JPG, PNG8, etc.).

Return Value

The converted Web ADF MapImage.

See Also

© 2010 All Rights Reserved.