Class MapImageClass
[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
dataIXMLSerializeData
GetClassID(out Guid)
virtual void GetClassID(out Guid pClassID)
Parameters
pClassIDGuid
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
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
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
IImageResultEdit_ReferenceDPI
The device resolution of the image specified in the request.
virtual double IImageResultEdit_ReferenceDPI { set; }
Returns
IImageResultEdit_URL
The URL of the generated image.
virtual string IImageResultEdit_URL { set; }
Returns
IImageResultEdit_Width
The width of the image in pixels.
virtual int IImageResultEdit_Width { set; }
Returns
IMapImageEdit_Height
virtual int IMapImageEdit_Height { set; }
Returns
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
IMapImageEdit_MapScale
The scale of the generated map image.
virtual double IMapImageEdit_MapScale { set; }
Returns
IMapImageEdit_MimeData
virtual byte[] IMapImageEdit_MimeData { set; }
Returns
- byte[]
IMapImageEdit_MimeType
virtual string IMapImageEdit_MimeType { set; }
Returns
IMapImageEdit_ReferenceDPI
virtual double IMapImageEdit_ReferenceDPI { set; }
Returns
IMapImageEdit_URL
virtual string IMapImageEdit_URL { set; }
Returns
IMapImageEdit_VisibleLayers
Array of the visible layers drawn for the generated map scale.
virtual ILongArray IMapImageEdit_VisibleLayers { set; }
Returns
IMapImageEdit_Width
virtual int IMapImageEdit_Width { set; }
Returns
IMapImage_Height
virtual int IMapImage_Height { get; }
Returns
IMapImage_MimeData
virtual byte[] IMapImage_MimeData { get; }
Returns
- byte[]
IMapImage_MimeType
virtual string IMapImage_MimeType { get; }
Returns
IMapImage_ReferenceDPI
virtual double IMapImage_ReferenceDPI { get; }
Returns
IMapImage_URL
virtual string IMapImage_URL { get; }
Returns
IMapImage_Width
virtual int IMapImage_Width { get; }
Returns
IPersist_GetClassID(out Guid)
virtual void IPersist_GetClassID(out Guid pClassID)
Parameters
pClassIDGuid
IsDirty()
virtual void IsDirty()
Load(IStream)
virtual void Load(IStream pstm)
Parameters
pstmIStream
MapExtent
The geographic extent of the map that is fitted to the height and width of the generated image.
virtual IEnvelope MapExtent { get; }
Returns
MapScale
The scale of the generated map image.
virtual double MapScale { get; }
Returns
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
MinNamespaceSupported
The minimum namespace the class can serialize to (eg the 90 namespace).
virtual string MinNamespaceSupported { get; }
Returns
ReferenceDPI
The device resolution of the image specified in the request (dots per inch).
virtual double ReferenceDPI { get; }
Returns
Save(IStream, int)
virtual void Save(IStream pstm, int fClearDirty)
Parameters
Serialize(IXMLSerializeData)
Serializes an object to XML.
virtual void Serialize(IXMLSerializeData data)
Parameters
dataIXMLSerializeData
URL
The URL of the generated image.
virtual string URL { get; }
Returns
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
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
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.