ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer
FromWebImageFormat Method
See Also  Send Feedback
ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer Namespace > Converter Class : FromWebImageFormat Method




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

Syntax

Visual Basic (Declaration) 
Public Shared Function FromWebImageFormat( _
   ByVal webImageFormat As ESRI.ArcGIS.ADF.Web.WebImageFormat _
) As ESRI.ArcGIS.ADF.ArcGISServer.esriImageFormat
Visual Basic (Usage)Copy Code
Dim webImageFormat As ESRI.ArcGIS.ADF.Web.WebImageFormat
Dim value As ESRI.ArcGIS.ADF.ArcGISServer.esriImageFormat
 
value = Converter.FromWebImageFormat(webImageFormat)
C# 
public static ESRI.ArcGIS.ADF.ArcGISServer.esriImageFormat FromWebImageFormat( 
   ESRI.ArcGIS.ADF.Web.WebImageFormat webImageFormat
)

Parameters

webImageFormat
The Web ADF WebImageFormat 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.