|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.interop.Dispatch com.esri.arcgis.carto.IMxdServerProxy
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 =
public class IMxdServerProxy
Internal use class
Field Summary | |
---|---|
boolean |
noncastable
Deprecated. |
static java.lang.Class |
targetClass
Deprecated. |
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Fields inherited from interface com.esri.arcgis.carto.IMxdServer |
---|
DISPID_0_NAME, DISPID_1_NAME, DISPID_10_NAME, DISPID_11_NAME, DISPID_12_NAME, DISPID_13_NAME, DISPID_14_NAME, DISPID_15_GET_NAME, DISPID_16_GET_NAME, DISPID_17_NAME, DISPID_2_NAME, DISPID_3_GET_NAME, DISPID_4_GET_NAME, DISPID_5_GET_NAME, DISPID_6_GET_NAME, DISPID_7_NAME, DISPID_8_NAME, DISPID_9_NAME, IID, IIDbd2e03fc_a244_46af_93ed_b522a090de89 |
Constructor Summary | |
---|---|
|
IMxdServerProxy()
Deprecated. For internal use only |
|
IMxdServerProxy(java.lang.Object obj)
Deprecated. |
protected |
IMxdServerProxy(java.lang.Object obj,
java.lang.String iid)
Deprecated. |
|
IMxdServerProxy(java.lang.String CLSID,
java.lang.String host,
com.esri.arcgis.interop.AuthInfo authInfo)
Deprecated. |
protected |
IMxdServerProxy(java.lang.String CLSID,
java.lang.String iid,
java.lang.String host,
com.esri.arcgis.interop.AuthInfo authInfo)
Deprecated. |
Method Summary | |
---|---|
void |
addListener(java.lang.String iidStr,
java.lang.Object theListener,
java.lang.Object theSource)
Deprecated. |
IEnvelope |
exportLayout(IArray mapDescriptors,
int dpi,
int imageWidth,
int imageHeight,
IEnvelope pageExtent,
java.lang.String fileType,
java.lang.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,
java.lang.String fileType,
java.lang.String outputFileName)
Deprecated. 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)
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,
java.lang.String fileType,
java.lang.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,
java.lang.String fileType,
java.lang.String outputFileName)
Deprecated. Exports a scale bar to an image file. |
IEnumSpatialBookmark |
getBookmarks(java.lang.String mapName)
Deprecated. The spatial bookmarks saved with the specified map, if any. |
java.lang.String |
getDefaultMapName()
Deprecated. The TOC Information. |
java.lang.String |
getFeatureValue(java.lang.String mapName,
int layerID,
IFeature feature,
java.lang.String fieldName)
Deprecated. The value of the specified field for the specified feature. |
IArray |
getLayerDescriptors(java.lang.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(java.lang.String mapName,
int layerID)
Deprecated. The TOC Information. |
void |
releaseBitmapHandle(int hBmp)
Deprecated. Companion function to GetBitmapHandle(). |
void |
removeListener(java.lang.String iidStr,
java.lang.Object theListener)
Deprecated. |
void |
start(java.lang.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. |
Methods inherited from class com.esri.arcgis.interop.Dispatch |
---|
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.Class targetClass
public boolean noncastable
Constructor Detail |
---|
public IMxdServerProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo) throws java.net.UnknownHostException, java.io.IOException
java.net.UnknownHostException
java.io.IOException
public IMxdServerProxy()
public IMxdServerProxy(java.lang.Object obj) throws java.io.IOException
java.io.IOException
protected IMxdServerProxy(java.lang.Object obj, java.lang.String iid) throws java.io.IOException
java.io.IOException
protected IMxdServerProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo) throws java.io.IOException
java.io.IOException
Method Detail |
---|
public void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource) throws java.io.IOException
addListener
in class com.esri.arcgis.interop.Dispatch
java.io.IOException
public void removeListener(java.lang.String iidStr, java.lang.Object theListener) throws java.io.IOException
removeListener
in class com.esri.arcgis.interop.Dispatch
java.io.IOException
public void start(java.lang.String mxdPath) throws java.io.IOException, AutomationException
start
in interface IMxdServer
mxdPath
- The mxdPath (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void startWithData(IDataset pDataset) throws java.io.IOException, AutomationException
startWithData
in interface IMxdServer
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.public void stop() throws java.io.IOException, AutomationException
stop
in interface IMxdServer
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IArray getMapDescriptors() throws java.io.IOException, AutomationException
getMapDescriptors
in interface IMxdServer
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IArray getLayerDescriptors(java.lang.String mapName) throws java.io.IOException, AutomationException
getLayerDescriptors
in interface IMxdServer
mapName
- The mapName (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumSpatialBookmark getBookmarks(java.lang.String mapName) throws java.io.IOException, AutomationException
getBookmarks
in interface IMxdServer
mapName
- The mapName (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Picture getThumbnail() throws java.io.IOException, AutomationException
getThumbnail
in interface IMxdServer
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Picture getMapPicture(IMapDescriptor mapDescriptor, int dpi, tagRECT pixelBounds) throws java.io.IOException, AutomationException
getMapPicture
in interface IMxdServer
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.public int getMapBitmapHandle(IMapDescriptor mapDescriptor, int dpi, tagRECT pixelBounds) throws java.io.IOException, AutomationException
getMapBitmapHandle
in interface IMxdServer
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.public void releaseBitmapHandle(int hBmp) throws java.io.IOException, AutomationException
releaseBitmapHandle
in interface IMxdServer
hBmp
- The hBmp (A COM typedef) (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnvelope exportMapImage(IMapDescriptor mapDescriptor, int dpi, int imageWidth, int imageHeight, java.lang.String fileType, java.lang.String outputFileName) throws java.io.IOException, AutomationException
exportMapImage
in interface IMxdServer
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.public 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
exportLayout
in interface IMxdServer
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.public 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
exportLegend
in interface IMxdServer
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.public 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
exportScaleBar
in interface IMxdServer
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.public 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
exportNorthArrow
in interface IMxdServer
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.public IArray getTOCInfo(java.lang.String mapName, int layerID) throws java.io.IOException, AutomationException
getTOCInfo
in interface IMxdServer
mapName
- The mapName (in)layerID
- The layerID (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getDefaultMapName() throws java.io.IOException, AutomationException
getDefaultMapName
in interface IMxdServer
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getFeatureValue(java.lang.String mapName, int layerID, IFeature feature, java.lang.String fieldName) throws java.io.IOException, AutomationException
getFeatureValue
in interface IMxdServer
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 |