ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer
FromAdfImageFormat Method
See Also  Send Feedback
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 ESRI.ArcGIS.ADF.Web.ImageFormat _
) As ESRI.ArcGIS.ADF.ArcGISServer.esriImageFormat
Visual Basic (Usage)Copy Code
Dim imageFormat As ESRI.ArcGIS.ADF.Web.ImageFormat
Dim value As ESRI.ArcGIS.ADF.ArcGISServer.esriImageFormat
 
value = Converter.FromAdfImageFormat(imageFormat)
C# 
public static ESRI.ArcGIS.ADF.ArcGISServer.esriImageFormat FromAdfImageFormat( 
   ESRI.ArcGIS.ADF.Web.ImageFormat imageFormat
)

Parameters

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

Return Value

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

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2011 All Rights Reserved.