|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
IMapServer
.
public interface IMxdServer
Provides access to members that support opening a map document and generating images of it.
Method Summary | |
---|---|
IEnvelope |
exportLayout(IArray mapDescriptors,
int dpi,
int imageWidth,
int imageHeight,
IEnvelope pageExtent,
String fileType,
String outputFileName)
Deprecated. Generates an image of the layout, based on the given array of map descriptors, and writes the image to a specified file on disk. |
void |
exportLegend(ILegend legend,
IMapDescriptor mapDescriptor,
int dpi,
int imageWidth,
int imageHeight,
IColor backgroundColor,
String fileType,
String outputFileName)
Deprecated. Exports a legend to an image file. |
IEnvelope |
exportMapImage(IMapDescriptor mapDescriptor,
int dpi,
int imageWidth,
int imageHeight,
String fileType,
String outputFileName)
Deprecated. Generates an image of the map, based on the given map descriptor, and writes the image to the specified file on disk. |
void |
exportNorthArrow(INorthArrow arrow,
int dpi,
int imageWidth,
int imageHeight,
IColor backgroundColor,
String fileType,
String outputFileName)
Deprecated. Exports a north arrow to an image file. |
void |
exportScaleBar(IScaleBar scalebar,
int mapImageWidthPixels,
int dpi,
int imageWidth,
int imageHeight,
IColor backgroundColor,
String fileType,
String outputFileName)
Deprecated. Exports a scale bar to an image file. |
IEnumSpatialBookmark |
getBookmarks(String mapName)
Deprecated. The spatial bookmarks saved with the specified map, if any. |
String |
getDefaultMapName()
Deprecated. The TOC Information. |
String |
getFeatureValue(String mapName,
int layerID,
IFeature feature,
String fieldName)
Deprecated. The value of the specified field for the specified feature. |
IArray |
getLayerDescriptors(String mapName)
Deprecated. An array of LayerDescriptor objects for a given map name. |
int |
getMapBitmapHandle(IMapDescriptor mapDescriptor,
int dpi,
tagRECT pixelBounds)
Deprecated. Generates a picture of the map, based on the given map descriptor, and returns an HBITMAP handle to the resulting image. |
IArray |
getMapDescriptors()
Deprecated. An array of MapDescriptor objects, where each map descriptor describes the characteristics of a data frame in the document. |
Picture |
getMapPicture(IMapDescriptor mapDescriptor,
int dpi,
tagRECT pixelBounds)
Deprecated. Generates a picture of the map, based on the given map descriptor, and returns the image as an IPictureDisp. |
Picture |
getThumbnail()
Deprecated. The thumbnail image stored with the map document, if any. |
IArray |
getTOCInfo(String mapName,
int layerID)
Deprecated. The TOC Information. |
void |
releaseBitmapHandle(int hBmp)
Deprecated. Companion function to GetBitmapHandle(). |
void |
start(String mxdPath)
Deprecated. Initializes the map server with an mxd file stored at the specified path. |
void |
startWithData(IDataset pDataset)
Deprecated. An alternative to calling Start() with a document name, this method synthesizes a map document with a single layer based on the given IDataset object, and initializes the map server for processing. |
void |
stop()
Deprecated. Clears out all of the map objects in memory. |
Method Detail |
---|
void start(String mxdPath) throws IOException, AutomationException
mxdPath
- The mxdPath (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void startWithData(IDataset pDataset) throws IOException, AutomationException
pDataset
- A reference to a com.esri.arcgis.geodatabase.IDataset (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void stop() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IArray getMapDescriptors() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IArray getLayerDescriptors(String mapName) throws IOException, AutomationException
mapName
- The mapName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IEnumSpatialBookmark getBookmarks(String mapName) throws IOException, AutomationException
mapName
- The mapName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.Picture getThumbnail() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.Picture getMapPicture(IMapDescriptor mapDescriptor, int dpi, tagRECT pixelBounds) throws IOException, AutomationException
mapDescriptor
- A reference to a com.esri.arcgis.carto.IMapDescriptor (in)dpi
- The dpi (in)pixelBounds
- A Structure: com.esri.arcgis.system.tagRECT (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getMapBitmapHandle(IMapDescriptor mapDescriptor, int dpi, tagRECT pixelBounds) throws IOException, AutomationException
mapDescriptor
- A reference to a com.esri.arcgis.carto.IMapDescriptor (in)dpi
- The dpi (in)pixelBounds
- A Structure: com.esri.arcgis.system.tagRECT (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void releaseBitmapHandle(int hBmp) throws IOException, AutomationException
hBmp
- The hBmp (A COM typedef) (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IEnvelope exportMapImage(IMapDescriptor mapDescriptor, int dpi, int imageWidth, int imageHeight, String fileType, String outputFileName) throws IOException, AutomationException
mapDescriptor
- A reference to a com.esri.arcgis.carto.IMapDescriptor (in)dpi
- The dpi (in)imageWidth
- The imageWidth (in)imageHeight
- The imageHeight (in)fileType
- The fileType (in)outputFileName
- The outputFileName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IEnvelope exportLayout(IArray mapDescriptors, int dpi, int imageWidth, int imageHeight, IEnvelope pageExtent, String fileType, String outputFileName) throws IOException, AutomationException
mapDescriptors
- A reference to a com.esri.arcgis.system.IArray (in)dpi
- The dpi (in)imageWidth
- The imageWidth (in)imageHeight
- The imageHeight (in)pageExtent
- A reference to a com.esri.arcgis.geometry.IEnvelope (in)fileType
- The fileType (in)outputFileName
- The outputFileName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void exportLegend(ILegend legend, IMapDescriptor mapDescriptor, int dpi, int imageWidth, int imageHeight, IColor backgroundColor, String fileType, String outputFileName) throws IOException, AutomationException
legend
- A reference to a com.esri.arcgis.carto.ILegend (in)mapDescriptor
- A reference to a com.esri.arcgis.carto.IMapDescriptor (in)dpi
- The dpi (in)imageWidth
- The imageWidth (in)imageHeight
- The imageHeight (in)backgroundColor
- A reference to a com.esri.arcgis.display.IColor (in)fileType
- The fileType (in)outputFileName
- The outputFileName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void exportScaleBar(IScaleBar scalebar, int mapImageWidthPixels, int dpi, int imageWidth, int imageHeight, IColor backgroundColor, String fileType, String outputFileName) throws IOException, AutomationException
scalebar
- A reference to a com.esri.arcgis.carto.IScaleBar (in)mapImageWidthPixels
- The mapImageWidthPixels (in)dpi
- The dpi (in)imageWidth
- The imageWidth (in)imageHeight
- The imageHeight (in)backgroundColor
- A reference to a com.esri.arcgis.display.IColor (in)fileType
- The fileType (in)outputFileName
- The outputFileName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void exportNorthArrow(INorthArrow arrow, int dpi, int imageWidth, int imageHeight, IColor backgroundColor, String fileType, String outputFileName) throws IOException, AutomationException
arrow
- A reference to a com.esri.arcgis.carto.INorthArrow (in)dpi
- The dpi (in)imageWidth
- The imageWidth (in)imageHeight
- The imageHeight (in)backgroundColor
- A reference to a com.esri.arcgis.display.IColor (in)fileType
- The fileType (in)outputFileName
- The outputFileName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IArray getTOCInfo(String mapName, int layerID) throws IOException, AutomationException
mapName
- The mapName (in)layerID
- The layerID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getDefaultMapName() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getFeatureValue(String mapName, int layerID, IFeature feature, String fieldName) throws IOException, AutomationException
mapName
- The mapName (in)layerID
- The layerID (in)feature
- A reference to a com.esri.arcgis.geodatabase.IFeature (in)fieldName
- The fieldName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |