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




esriImgFormat
The ArcGIS Server esriImageFormat enumeration value (esriImageJPG, esriImagePNG, etc.).
Returns the Web ADF ImageFormat value corresponding to the ArcGIS Server esriImageFormat value.

Syntax

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

Parameters

esriImgFormat
The ArcGIS Server esriImageFormat enumeration value (esriImageJPG, esriImagePNG, etc.).

Return Value

The corresponding Web ADF ImageFormat enumeration value (JPG, PNG8, etc.).

See Also

© 2010 All Rights Reserved.