|
|||||||||
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.IMapDocumentProxy
Description: 'Provides access to members that control the reading and writing of map document files.' 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 IMapDocumentProxy
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.IMapDocument |
---|
IID, IID5366451c_a001_4179_b8cb_e8f014628a44 |
Constructor Summary | |
---|---|
|
IMapDocumentProxy()
Deprecated. For internal use only |
|
IMapDocumentProxy(java.lang.Object obj)
Deprecated. |
protected |
IMapDocumentProxy(java.lang.Object obj,
java.lang.String iid)
Deprecated. |
|
IMapDocumentProxy(java.lang.String CLSID,
java.lang.String host,
com.esri.arcgis.interop.AuthInfo authInfo)
Deprecated. |
protected |
IMapDocumentProxy(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. |
void |
close()
Deprecated. Close the map document. |
void |
esri_new(java.lang.String sDocument)
Deprecated. Creates and opens a new map document in preparation for the contents to be retrieve or updated. |
IActiveView |
getActiveView()
Deprecated. The ActiveView of the map document. |
java.lang.String |
getDocumentFilename()
Deprecated. The map document filename that the MapDocument coclass is linked to. |
int |
getDocumentType()
Deprecated. The type of map document currently loaded in the object. |
int |
getDocumentVersion()
Deprecated. Indicates if the version of the map document is compatible with the current version of software. |
ILayer |
getLayer(int mapIndex,
int layerIndex)
Deprecated. The Layer object at the specified index for the specified map. |
IMap |
getMap(int mapIndex)
Deprecated. The Map object at the specified index. |
int |
getMapCount()
Deprecated. The number of Map objects contained within the map document. |
IPageLayout |
getPageLayout()
Deprecated. The PageLayout object. |
IPrinter |
getPrinter()
Deprecated. The printer object. |
IPicture |
getThumbnail()
Deprecated. The thumbnail stored in the map document. |
void |
getVersionInfo(boolean[] versionInfoMissing,
int[] lMajor,
int[] lMinor,
int[] lRevision,
int[] lBuild)
Deprecated. Retrieve the detailed version information of the map document. |
boolean |
isMapDocument(java.lang.String sDocument)
Deprecated. Indicates if the map document is a valid map document. |
boolean |
isPasswordProtected(java.lang.String sDocument)
Deprecated. Indicates if the map document is protected by a passsword. |
boolean |
isPresent(java.lang.String sDocument)
Deprecated. Indicates if the map document is present. |
boolean |
isReadOnly(java.lang.String sDocument)
Deprecated. Indicates if the map document is read only. |
boolean |
isRestricted(java.lang.String sDocument)
Deprecated. Indicates if the use of the map document is restricted to certain applications. |
boolean |
isUsesRelativePaths()
Deprecated. Indicates if the data in the map document is referenced using relative paths. |
void |
open(java.lang.String sDocument,
java.lang.String bsPassword)
Deprecated. Open the map document in preparation for the contents to be retrieve or updated. |
void |
removeListener(java.lang.String iidStr,
java.lang.Object theListener)
Deprecated. |
void |
replaceContents(IMxdContents pObject)
Deprecated. Replace the contents of the map document. |
void |
save(boolean bUseRelativePaths,
boolean bCreateThumnbail)
Deprecated. Save the contents of the map document to the bound file. |
void |
saveAs(java.lang.String sDocument,
boolean bUseRelativePaths,
boolean bCreateThumnbail)
Deprecated. Save the contents of the map document to the specified file name. |
void |
setActiveView(IActiveView pActiveView)
Deprecated. Set the ActiveView content of the map document. |
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 IMapDocumentProxy(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 IMapDocumentProxy()
public IMapDocumentProxy(java.lang.Object obj) throws java.io.IOException
java.io.IOException
protected IMapDocumentProxy(java.lang.Object obj, java.lang.String iid) throws java.io.IOException
java.io.IOException
protected IMapDocumentProxy(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 boolean isMapDocument(java.lang.String sDocument) throws java.io.IOException, AutomationException
isMapDocument
in interface IMapDocument
sDocument
- The sDocument (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isPresent(java.lang.String sDocument) throws java.io.IOException, AutomationException
isPresent
in interface IMapDocument
sDocument
- The sDocument (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isReadOnly(java.lang.String sDocument) throws java.io.IOException, AutomationException
isReadOnly
in interface IMapDocument
sDocument
- The sDocument (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isRestricted(java.lang.String sDocument) throws java.io.IOException, AutomationException
isRestricted
in interface IMapDocument
sDocument
- The sDocument (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isPasswordProtected(java.lang.String sDocument) throws java.io.IOException, AutomationException
isPasswordProtected
in interface IMapDocument
sDocument
- The sDocument (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void esri_new(java.lang.String sDocument) throws java.io.IOException, AutomationException
esri_new
in interface IMapDocument
sDocument
- The sDocument (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void open(java.lang.String sDocument, java.lang.String bsPassword) throws java.io.IOException, AutomationException
open
in interface IMapDocument
sDocument
- The sDocument (in)bsPassword
- The bsPassword (in, optional, pass if not required)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getDocumentFilename() throws java.io.IOException, AutomationException
getDocumentFilename
in interface IMapDocument
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getDocumentType() throws java.io.IOException, AutomationException
getDocumentType
in interface IMapDocument
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isUsesRelativePaths() throws java.io.IOException, AutomationException
isUsesRelativePaths
in interface IMapDocument
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getDocumentVersion() throws java.io.IOException, AutomationException
getDocumentVersion
in interface IMapDocument
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IPageLayout getPageLayout() throws java.io.IOException, AutomationException
getPageLayout
in interface IMapDocument
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IActiveView getActiveView() throws java.io.IOException, AutomationException
getActiveView
in interface IMapDocument
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getMapCount() throws java.io.IOException, AutomationException
getMapCount
in interface IMapDocument
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IMap getMap(int mapIndex) throws java.io.IOException, AutomationException
getMap
in interface IMapDocument
mapIndex
- The mapIndex (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ILayer getLayer(int mapIndex, int layerIndex) throws java.io.IOException, AutomationException
getLayer
in interface IMapDocument
mapIndex
- The mapIndex (in)layerIndex
- The layerIndex (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IPrinter getPrinter() throws java.io.IOException, AutomationException
getPrinter
in interface IMapDocument
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IPicture getThumbnail() throws java.io.IOException, AutomationException
getThumbnail
in interface IMapDocument
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void close() throws java.io.IOException, AutomationException
close
in interface IMapDocument
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getVersionInfo(boolean[] versionInfoMissing, int[] lMajor, int[] lMinor, int[] lRevision, int[] lBuild) throws java.io.IOException, AutomationException
getVersionInfo
in interface IMapDocument
versionInfoMissing
- The versionInfoMissing (in/out: use single element array)lMajor
- The lMajor (in/out: use single element array)lMinor
- The lMinor (in/out: use single element array)lRevision
- The lRevision (in/out: use single element array)lBuild
- The lBuild (in/out: use single element array)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void replaceContents(IMxdContents pObject) throws java.io.IOException, AutomationException
replaceContents
in interface IMapDocument
pObject
- A reference to a com.esri.arcgis.carto.IMxdContents (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setActiveView(IActiveView pActiveView) throws java.io.IOException, AutomationException
setActiveView
in interface IMapDocument
pActiveView
- A reference to a com.esri.arcgis.carto.IActiveView (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void save(boolean bUseRelativePaths, boolean bCreateThumnbail) throws java.io.IOException, AutomationException
save
in interface IMapDocument
bUseRelativePaths
- The bUseRelativePaths (in, optional, pass true if not required)bCreateThumnbail
- The bCreateThumnbail (in, optional, pass true if not required)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void saveAs(java.lang.String sDocument, boolean bUseRelativePaths, boolean bCreateThumnbail) throws java.io.IOException, AutomationException
saveAs
in interface IMapDocument
sDocument
- The sDocument (in)bUseRelativePaths
- The bUseRelativePaths (in, optional, pass true if not required)bCreateThumnbail
- The bCreateThumnbail (in, optional, pass true if not required)
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 |