|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IMxdServer
COM Interface 'IMxdServer'. Generated 3/19/2015 1:20:53 PM from 'C:\ArcGIS\COM\esriCarto.olb'
Description: 'Provides access to members that support opening a map document and generating images of it.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =
Field Summary | |
---|---|
static java.lang.String |
DISPID_0_NAME
|
static java.lang.String |
DISPID_1_NAME
|
static java.lang.String |
DISPID_10_NAME
|
static java.lang.String |
DISPID_11_NAME
|
static java.lang.String |
DISPID_12_NAME
|
static java.lang.String |
DISPID_13_NAME
|
static java.lang.String |
DISPID_14_NAME
|
static java.lang.String |
DISPID_15_GET_NAME
|
static java.lang.String |
DISPID_16_GET_NAME
|
static java.lang.String |
DISPID_17_NAME
|
static java.lang.String |
DISPID_2_NAME
|
static java.lang.String |
DISPID_3_GET_NAME
|
static java.lang.String |
DISPID_4_GET_NAME
|
static java.lang.String |
DISPID_5_GET_NAME
|
static java.lang.String |
DISPID_6_GET_NAME
|
static java.lang.String |
DISPID_7_NAME
|
static java.lang.String |
DISPID_8_NAME
|
static java.lang.String |
DISPID_9_NAME
|
static java.lang.String |
IID
Deprecated. Internal use only |
static int |
IIDbd2e03fc_a244_46af_93ed_b522a090de89
|
static int |
xxDummy
Deprecated. Internal use only |
Method Summary | |
---|---|
IEnvelope |
exportLayout(IArray mapDescriptors,
int dpi,
int imageWidth,
int imageHeight,
IEnvelope pageExtent,
java.lang.String fileType,
java.lang.String outputFileName)
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,
java.lang.String fileType,
java.lang.String outputFileName)
Exports a legend to an image file. |
IEnvelope |
exportMapImage(IMapDescriptor mapDescriptor,
int dpi,
int imageWidth,
int imageHeight,
java.lang.String fileType,
java.lang.String outputFileName)
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,
java.lang.String fileType,
java.lang.String outputFileName)
Exports a north arrow to an image file. |
void |
exportScaleBar(IScaleBar scalebar,
int mapImageWidthPixels,
int dpi,
int imageWidth,
int imageHeight,
IColor backgroundColor,
java.lang.String fileType,
java.lang.String outputFileName)
Exports a scale bar to an image file. |
IEnumSpatialBookmark |
getBookmarks(java.lang.String mapName)
The spatial bookmarks saved with the specified map, if any. |
java.lang.String |
getDefaultMapName()
The TOC Information. |
java.lang.String |
getFeatureValue(java.lang.String mapName,
int layerID,
IFeature feature,
java.lang.String fieldName)
The value of the specified field for the specified feature. |
IArray |
getLayerDescriptors(java.lang.String mapName)
An array of LayerDescriptor objects for a given map name. |
int |
getMapBitmapHandle(IMapDescriptor mapDescriptor,
int dpi,
tagRECT pixelBounds)
Generates a picture of the map, based on the given map descriptor, and returns an HBITMAP handle to the resulting image. |
IArray |
getMapDescriptors()
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)
Generates a picture of the map, based on the given map descriptor, and returns the image as an IPictureDisp. |
Picture |
getThumbnail()
The thumbnail image stored with the map document, if any. |
IArray |
getTOCInfo(java.lang.String mapName,
int layerID)
The TOC Information. |
void |
releaseBitmapHandle(int hBmp)
Companion function to GetBitmapHandle(). |
void |
start(java.lang.String mxdPath)
Initializes the map server with an mxd file stored at the specified path. |
void |
startWithData(IDataset pDataset)
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()
Clears out all of the map objects in memory. |
Field Detail |
---|
static final int IIDbd2e03fc_a244_46af_93ed_b522a090de89
static final int xxDummy
static final java.lang.String IID
static final java.lang.String DISPID_0_NAME
static final java.lang.String DISPID_1_NAME
static final java.lang.String DISPID_2_NAME
static final java.lang.String DISPID_3_GET_NAME
static final java.lang.String DISPID_4_GET_NAME
static final java.lang.String DISPID_5_GET_NAME
static final java.lang.String DISPID_6_GET_NAME
static final java.lang.String DISPID_7_NAME
static final java.lang.String DISPID_8_NAME
static final java.lang.String DISPID_9_NAME
static final java.lang.String DISPID_10_NAME
static final java.lang.String DISPID_11_NAME
static final java.lang.String DISPID_12_NAME
static final java.lang.String DISPID_13_NAME
static final java.lang.String DISPID_14_NAME
static final java.lang.String DISPID_15_GET_NAME
static final java.lang.String DISPID_16_GET_NAME
static final java.lang.String DISPID_17_NAME
Method Detail |
---|
void start(java.lang.String mxdPath) throws java.io.IOException, AutomationException
mxdPath
- The mxdPath (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void startWithData(IDataset pDataset) throws java.io.IOException, AutomationException
pDataset
- A reference to a com.esri.arcgis.geodatabase.IDataset (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void stop() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IArray getMapDescriptors() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IArray getLayerDescriptors(java.lang.String mapName) throws java.io.IOException, AutomationException
mapName
- The mapName (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IEnumSpatialBookmark getBookmarks(java.lang.String mapName) throws java.io.IOException, AutomationException
mapName
- The mapName (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.Picture getThumbnail() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.Picture getMapPicture(IMapDescriptor mapDescriptor, int dpi, tagRECT pixelBounds) throws java.io.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)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getMapBitmapHandle(IMapDescriptor mapDescriptor, int dpi, tagRECT pixelBounds) throws java.io.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)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void releaseBitmapHandle(int hBmp) throws java.io.IOException, AutomationException
hBmp
- The hBmp (A COM typedef) (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IEnvelope exportMapImage(IMapDescriptor mapDescriptor, int dpi, int imageWidth, int imageHeight, java.lang.String fileType, java.lang.String outputFileName) throws java.io.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)
java.io.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, java.lang.String fileType, java.lang.String outputFileName) throws java.io.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)
java.io.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, java.lang.String fileType, java.lang.String outputFileName) throws java.io.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)
java.io.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, java.lang.String fileType, java.lang.String outputFileName) throws java.io.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)
java.io.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, java.lang.String fileType, java.lang.String outputFileName) throws java.io.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)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IArray getTOCInfo(java.lang.String mapName, int layerID) throws java.io.IOException, AutomationException
mapName
- The mapName (in)layerID
- The layerID (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.java.lang.String getDefaultMapName() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.java.lang.String getFeatureValue(java.lang.String mapName, int layerID, IFeature feature, java.lang.String fieldName) throws java.io.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)
java.io.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 |