Class MapImageClass

Namespace
ESRI.ArcGIS.Carto
Assembly
ESRI.Server.Carto.dll
[Guid("C9D77BD2-8296-4411-8D11-6EFFFBB29CAD")]
[ClassInterface(ClassInterfaceType.None)]
public class MapImageClass : MapImage, IMapImage, IImageResult, IMapImageEdit, IImageResultEdit, IXMLSerialize, IPersistStream, IPersist, IXMLVersionSupport
Inheritance
MapImageClass
Implements
Inherited Members

Constructors

MapImageClass()

public MapImageClass()

Explicit Interface Implementations

Deserialize(IXMLSerializeData)

Deserializes an object from XML.

virtual void Deserialize(IXMLSerializeData data)

Parameters

data IXMLSerializeData

GetClassID(out Guid)

virtual void GetClassID(out Guid pClassID)

Parameters

pClassID Guid

GetSizeMax(out _ULARGE_INTEGER)

virtual void GetSizeMax(out _ULARGE_INTEGER pcbSize)

Parameters

pcbSize _ULARGE_INTEGER

Height

The height of the image in pixels.

virtual int Height { get; }

Returns

int

Remarks

In order to control the size of an exported map image, IMapServerInit contains two properties: MaxImageHeight and MaxImageWidth . The default value for these properties is 2048 pixels.

IImageResultEdit_Height

The height of the image in pixels.

virtual int IImageResultEdit_Height { set; }

Returns

int

IImageResultEdit_MimeData

Binary data representing the generated image.

virtual byte[] IImageResultEdit_MimeData { set; }

Returns

byte[]

IImageResultEdit_MimeType

The MIME type of the generated image.

virtual string IImageResultEdit_MimeType { set; }

Returns

string

IImageResultEdit_ReferenceDPI

The device resolution of the image specified in the request.

virtual double IImageResultEdit_ReferenceDPI { set; }

Returns

double

IImageResultEdit_URL

The URL of the generated image.

virtual string IImageResultEdit_URL { set; }

Returns

string

IImageResultEdit_Width

The width of the image in pixels.

virtual int IImageResultEdit_Width { set; }

Returns

int

IMapImageEdit_Height

virtual int IMapImageEdit_Height { set; }

Returns

int

IMapImageEdit_MapExtent

The geographic extent of the map that is fitted to the height and width of the generated image.

virtual IEnvelope IMapImageEdit_MapExtent { set; }

Returns

IEnvelope

IMapImageEdit_MapScale

The scale of the generated map image.

virtual double IMapImageEdit_MapScale { set; }

Returns

double

IMapImageEdit_MimeData

virtual byte[] IMapImageEdit_MimeData { set; }

Returns

byte[]

IMapImageEdit_MimeType

virtual string IMapImageEdit_MimeType { set; }

Returns

string

IMapImageEdit_ReferenceDPI

virtual double IMapImageEdit_ReferenceDPI { set; }

Returns

double

IMapImageEdit_URL

virtual string IMapImageEdit_URL { set; }

Returns

string

IMapImageEdit_VisibleLayers

Array of the visible layers drawn for the generated map scale.

virtual ILongArray IMapImageEdit_VisibleLayers { set; }

Returns

ILongArray

IMapImageEdit_Width

virtual int IMapImageEdit_Width { set; }

Returns

int

IMapImage_Height

virtual int IMapImage_Height { get; }

Returns

int

IMapImage_MimeData

virtual byte[] IMapImage_MimeData { get; }

Returns

byte[]

IMapImage_MimeType

virtual string IMapImage_MimeType { get; }

Returns

string

IMapImage_ReferenceDPI

virtual double IMapImage_ReferenceDPI { get; }

Returns

double

IMapImage_URL

virtual string IMapImage_URL { get; }

Returns

string

IMapImage_Width

virtual int IMapImage_Width { get; }

Returns

int

IPersist_GetClassID(out Guid)

virtual void IPersist_GetClassID(out Guid pClassID)

Parameters

pClassID Guid

IsDirty()

virtual void IsDirty()

Load(IStream)

virtual void Load(IStream pstm)

Parameters

pstm IStream

MapExtent

The geographic extent of the map that is fitted to the height and width of the generated image.

virtual IEnvelope MapExtent { get; }

Returns

IEnvelope

MapScale

The scale of the generated map image.

virtual double MapScale { get; }

Returns

double

MimeData

Binary data representing the generated image.

virtual byte[] MimeData { get; }

Returns

byte[]

Remarks

If MIME is specified a stream of bytes is returned to the client.

MimeType

The MIME type of the generated image.

virtual string MimeType { get; }

Returns

string

MinNamespaceSupported

The minimum namespace the class can serialize to (eg the 90 namespace).

virtual string MinNamespaceSupported { get; }

Returns

string

ReferenceDPI

The device resolution of the image specified in the request (dots per inch).

virtual double ReferenceDPI { get; }

Returns

double

Save(IStream, int)

virtual void Save(IStream pstm, int fClearDirty)

Parameters

pstm IStream
fClearDirty int

Serialize(IXMLSerializeData)

Serializes an object to XML.

virtual void Serialize(IXMLSerializeData data)

Parameters

data IXMLSerializeData

URL

The URL of the generated image.

virtual string URL { get; }

Returns

string

Remarks

If URL is specified the image is stored as a file at the specified location (Physical Output Directory) and can be accessed by internet clients through the Virtual Output Directory.

VisibleLayers

Array of the visible layers drawn for the generated map scale.

virtual ILongArray VisibleLayers { get; }

Returns

ILongArray

Remarks

VisibleLayers is defined by a combination of layer visibility in the TOC (i.e. is the layer "on"?) and layer visibility dependent on map scale. Scale dependency for a layer is set in the original map document. If the layer is scale dependent (i.e. a maximum and/or minimum scale has been set) and the map scale falls out of this range, layer visibility will be false. Do not confuse this property with the visibility property on ILayerDescription which is based solely on layer visibility in the TOC (is the layer "on" or "off"). The IMapImage interface inherits all IImageResult properties.

Width

The width of the image in pixels.

virtual int Width { get; }

Returns

int

Remarks

In order to control the size of an exported map image, IMapServerInit contains two properties: MaxImageHeight and MaxImageWidth . The default value for these properties is 2048 pixels.