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




The format of the image.

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

This is the output format of the map image, such as GIF or JPG. The map service has a default output format for map images. For layouts, the default format is JPG. The format can be changed by setting this property.

Valid output formats for maps drawn from standard image services are: GIF, JPG, PNG24 and PNG8. Valid output formats for maps drawn from ArcMap Server services are: BMP, GIF, JPG, PNG24, PNG8, and TIF. Valid output formats for layouts drawn from ArcMap Server services are: AI, BMP, GIF, EMF, EPS, JPG, PDF, PNG8, PNG24, SVG and TIF. If an invalid format is specified, the setting will be ignored and the default format used.

See Also

© 2010 All Rights Reserved.