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




imageFormat
The Web ADF ImageFormat to convert (JPG, PNG8, etc.).
Returns the ArcGIS Server esriImageFormat corresponding to the input Web ADF ImageFormat.

Syntax

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

Parameters

imageFormat
The Web ADF ImageFormat to convert (JPG, PNG8, etc.).

Return Value

The equivalent ArcGIS Server esriImageFormat (esriImageJPG, esriImagePNG, etc.).

See Also

© 2010 All Rights Reserved.