IMapServerEx Interface

Provides access to members for a MapService.

Members

Name Description
Method ComputeDistance Computes the distance between two points on the specified map. The result is in the map units of the specified map.
Method ComputeScale Computes the scale of the specified map, at the given map extent, for an image with the given size.
Read-only property DefaultMapName Name of the document's active map (data frame).
Read-only property DocumentInfo A set of name-value pairs for properties set for the map document (mxd only). These properties are string values set in the map document's Map Properties dialog and include: Title, Subject, Author, Category, Keywords and Comments.
Method ExportMapImage Generates an image of the map, based on the given map description, and writes the image to a specified file on disk. Supported file types are: 'bmp', 'jpg', 'tif', 'png'/'png8', 'png24', 'emf', 'ps', 'pdf', 'ai', 'gif', and 'svg'/'svgz'.
Read-only property FilePath The map document path.
Method Find Returns a collection of Map Server Find Result objects that contain the given search string. If LayerIDs is Nothing/Null or empty, all layers are searched.
Method FromMapPoints Converts a map coordinate to a screen location.
Method GetLegendInfo Returns a collection of Map Server Legend Info objects for the specified layers. If layerIDs is Nothing/Null or empty, legend information for all layers is returned.
Method GetServerInfo Returns information about a map (data frame).
Method GetSQLSyntaxInfo Returns the SQL syntax information for the specified layer.
Method GetSupportedImageReturnTypes The supported image return types for the map server. A value of esriImageReturnMimeData means that only MIME data is supported. Otherwise, either MIME data or URLs are supported.
Method Identify Returns a collection of Map Server Identify Result objects at the given location. If LayerIDs is Nothing/Null or empty, all layers are searched.
Read-only property MapCount The number of maps (data frames) in the document.
Read-only property MapName Name of the map (data frame) as indicated by the index. The first beginning with 0.
Read-only property PhysicalCacheDirectory The physical directory for cache files.
Read-only property PhysicalOutputDirectory The physical directory for output files.
Method QueryAttachmentDataEx Returns the attachment data for the given features/ rows.
Method QueryAttachmentInfosEx Returns the attachment info that describe the attachments for the given features/ rows.
Method QueryData Returns a record set of rows that meet the query filter selection criteria for the specified table.
Method QueryDataStatistics Calculates aggregate statistics for one or more fields on a table or layer.
Method QueryRasterValue Returns the Raster content that meet the selection criteria for the specified dynamic layer. Use QueryRasterValueEx instead of this for 64 bit OIDs.
Method QueryRasterValueEx Returns the Raster content that meet the selection criteria for the specified dynamic layer.
Method QueryRelatedRecords Returns the IDs of the rows that meet the query filter selection criteria for the specified dynamic layer.
Method QueryRowCount Returns the count of the rows that meet the query filter selection criteria for the specified table.
Method QueryRowCountEx Returns the count of the rows that meet the query filter selection criteria for the specified table.
Method QueryRowIDs Returns the IDs of the rows that meet the query filter selection criteria for the specified table. Use QueryRowIDsEx instead of this for 64 bit OIDs.
Method QueryRowIDsEx Returns the IDs of the rows that meet the query filter selection criteria for the specified table.
Method ToMapPoints Converts a screen location to a map coordinate.
Read-only property VirtualOutputDirectory The virtual directory for output files.

IMapServerEx.QueryAttachmentDataEx Method

Returns the attachment data for the given features/ rows.

Public Function QueryAttachmentDataEx ( _
    ByVal MapName As String, _
    ByVal TableID As Integer, _
    ByVal attachmentIDs As ILongLongArray, _
    ByVal TransportType As esriTransportType _
) As IAttachmentDataArray
public IAttachmentDataArray QueryAttachmentDataEx (
    string MapName,
    int TableID,
    ILongLongArray attachmentIDs,
    esriTransportType TransportType
);

IMapServerEx.QueryAttachmentInfosEx Method

Returns the attachment info that describe the attachments for the given features/ rows.

Public Function QueryAttachmentInfosEx ( _
    ByVal MapName As String, _
    ByVal TableID As Integer, _
    ByVal rowIDs As ILongLongArray _
) As IAttachmentInfoArray
public IAttachmentInfoArray QueryAttachmentInfosEx (
    string MapName,
    int TableID,
    ILongLongArray rowIDs
);

IMapServerEx.QueryRasterValueEx Method

Returns the Raster content that meet the selection criteria for the specified dynamic layer.

Public Function QueryRasterValueEx ( _
    ByVal MapName As String, _
    ByVal pTableDescription As IMapTableDescription, _
    ByVal rowIDs As ILongLongArray, _
    ByVal FieldName As String, _
    ByVal rasterValueType As IImageType _
) As IImageResults
public IImageResults QueryRasterValueEx (
    string MapName,
    IMapTableDescription pTableDescription,
    ILongLongArray rowIDs,
    string FieldName,
    IImageType rasterValueType
);

IMapServerEx.QueryRowCountEx Method

Returns the count of the rows that meet the query filter selection criteria for the specified table.

Public Function QueryRowCountEx ( _
    ByVal MapName As String, _
    ByVal pTableDescription As IMapTableDescription, _
    ByVal pFilter As IQueryFilter _
) As Long
public long QueryRowCountEx (
    string MapName,
    IMapTableDescription pTableDescription,
    IQueryFilter pFilter
);

IMapServerEx.QueryRowIDsEx Method

Returns the IDs of the rows that meet the query filter selection criteria for the specified table.

Public Function QueryRowIDsEx ( _
    ByVal MapName As String, _
    ByVal pTableDescription As IMapTableDescription, _
    ByVal pFilter As IQueryFilter _
) As IFIDSet
public IFIDSet QueryRowIDsEx (
    string MapName,
    IMapTableDescription pTableDescription,
    IQueryFilter pFilter
);

IMapServerEx.VirtualOutputDirectory Property

The virtual directory for output files.

Public ReadOnly Property VirtualOutputDirectory As String
public string VirtualOutputDirectory {get;}

Inherited Interfaces

Interfaces Description
IMapServer Provides access to members for a MapService.

Classes that implement IMapServerEx

Classes Description

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.