Returns the Web ADF WebImageFormat corresponding to the input ArcGIS Server esriImageFormat.
Syntax
Visual Basic (Declaration) | |
---|
Public Shared Function ToWebImageFormat( _
ByVal esriImageFormat As ESRI.ArcGIS.ADF.ArcGISServer.esriImageFormat _
) As ESRI.ArcGIS.ADF.Web.WebImageFormat |
Visual Basic (Usage) | Copy Code |
---|
Dim esriImageFormat As ESRI.ArcGIS.ADF.ArcGISServer.esriImageFormat
Dim value As ESRI.ArcGIS.ADF.Web.WebImageFormat
value = Converter.ToWebImageFormat(esriImageFormat) |
C# | |
---|
public static ESRI.ArcGIS.ADF.Web.WebImageFormat ToWebImageFormat(
ESRI.ArcGIS.ADF.ArcGISServer.esriImageFormat esriImageFormat
) |
Parameters
- esriImageFormat
- The ArcGIS Server esriImageFormat to convert (esriImageJPG, esriImagePNG, etc.).
Return Value
The equivalent Web ADF
WebImageFormat (JPG, PNG8, 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