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




esriImageFormat
The ArcGIS Server esriImageFormat to convert (esriImageJPG, esriImagePNG, etc.).
Returns the Web ADF WebImageFormat corresponding to the input ArcGIS Server esriImageFormat.

Syntax

Visual Basic (Declaration) 
Public Shared Function ToWebImageFormat( _
   ByVal esriImageFormat As esriImageFormat _
) As WebImageFormat
Visual Basic (Usage)Copy Code
Dim esriImageFormat As esriImageFormat
Dim value As WebImageFormat
 
value = Converter.ToWebImageFormat(esriImageFormat)
C# 
public static WebImageFormat ToWebImageFormat( 
   esriImageFormat esriImageFormat
)

Parameters

esriImageFormat
The ArcGIS Server esriImageFormat to convert (esriImageJPG, esriImagePNG, etc.).

Return Value

The equivalent Web ADF WebImageFormat (JPG, PNG8, etc.).

See Also

© 2010 All Rights Reserved.