ESRI.ArcGIS.ADF.Web
ImageFormat Property
See Also 
ESRI.ArcGIS.ADF.Web Namespace > ImageDescriptor Class : ImageFormat Property




The format of the image requested from the map server.

Syntax

Visual Basic (Declaration) 
Public Property ImageFormat As ImageFormat
Visual Basic (Usage)Copy Code
Dim instance As ImageDescriptor
Dim value As ImageFormat
 
instance.ImageFormat = value
 
value = instance.ImageFormat
C# 
public ImageFormat ImageFormat {get; set;}

Remarks

In order for this setting to have an effect, the map server must support the format specified. Most map servers support a subset of the complete ImageFormat enumeration values. Some map servers may only allow a specific output format. In this case the Web ADF will retrieve the image in the default format for the map service.

If the Map and MapResourceManager contain only one map resource (including graphics layers, if any), then the client will receive the image in the format specified in this property (assuming the map server returns this format). With multiple map resources, if the Map has its ImageBlendingMode set to Browser, then the client will receive the image in the format specified in this property. If ImageBlendingMode is set to WebTier, then the server retrieves the image and blends it with the images from the other data sources, and returns a single image to the client. The format of this blended image is determined by the Map's ImageFormat property.

See Also

© 2010 All Rights Reserved.