|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IMapDocument
COM Interface 'IMapDocument'. Generated 3/19/2015 1:20:53 PM from 'C:\ArcGIS\COM\esriCarto.olb'
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 =
Field Summary | |
---|---|
static java.lang.String |
IID
Deprecated. Internal use only |
static int |
IID5366451c_a001_4179_b8cb_e8f014628a44
|
static int |
xxDummy
Deprecated. Internal use only |
Method Summary | |
---|---|
void |
close()
Close the map document. |
void |
esri_new(java.lang.String sDocument)
Creates and opens a new map document in preparation for the contents to be retrieve or updated. |
IActiveView |
getActiveView()
The ActiveView of the map document. |
java.lang.String |
getDocumentFilename()
The map document filename that the MapDocument coclass is linked to. |
int |
getDocumentType()
The type of map document currently loaded in the object. |
int |
getDocumentVersion()
Indicates if the version of the map document is compatible with the current version of software. |
ILayer |
getLayer(int mapIndex,
int layerIndex)
The Layer object at the specified index for the specified map. |
IMap |
getMap(int mapIndex)
The Map object at the specified index. |
int |
getMapCount()
The number of Map objects contained within the map document. |
IPageLayout |
getPageLayout()
The PageLayout object. |
IPrinter |
getPrinter()
The printer object. |
IPicture |
getThumbnail()
The thumbnail stored in the map document. |
void |
getVersionInfo(boolean[] versionInfoMissing,
int[] lMajor,
int[] lMinor,
int[] lRevision,
int[] lBuild)
Retrieve the detailed version information of the map document. |
boolean |
isMapDocument(java.lang.String sDocument)
Indicates if the map document is a valid map document. |
boolean |
isPasswordProtected(java.lang.String sDocument)
Indicates if the map document is protected by a passsword. |
boolean |
isPresent(java.lang.String sDocument)
Indicates if the map document is present. |
boolean |
isReadOnly(java.lang.String sDocument)
Indicates if the map document is read only. |
boolean |
isRestricted(java.lang.String sDocument)
Indicates if the use of the map document is restricted to certain applications. |
boolean |
isUsesRelativePaths()
Indicates if the data in the map document is referenced using relative paths. |
void |
open(java.lang.String sDocument,
java.lang.String bsPassword)
Open the map document in preparation for the contents to be retrieve or updated. |
void |
replaceContents(IMxdContents pObject)
Replace the contents of the map document. |
void |
save(boolean bUseRelativePaths,
boolean bCreateThumnbail)
Save the contents of the map document to the bound file. |
void |
saveAs(java.lang.String sDocument,
boolean bUseRelativePaths,
boolean bCreateThumnbail)
Save the contents of the map document to the specified file name. |
void |
setActiveView(IActiveView pActiveView)
Set the ActiveView content of the map document. |
Field Detail |
---|
static final int IID5366451c_a001_4179_b8cb_e8f014628a44
static final int xxDummy
static final java.lang.String IID
Method Detail |
---|
boolean isMapDocument(java.lang.String sDocument) throws java.io.IOException, AutomationException
sDocument
- The sDocument (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isPresent(java.lang.String sDocument) throws java.io.IOException, AutomationException
sDocument
- The sDocument (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isReadOnly(java.lang.String sDocument) throws java.io.IOException, AutomationException
sDocument
- The sDocument (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isRestricted(java.lang.String sDocument) throws java.io.IOException, AutomationException
sDocument
- The sDocument (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isPasswordProtected(java.lang.String sDocument) throws java.io.IOException, AutomationException
sDocument
- The sDocument (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void esri_new(java.lang.String sDocument) throws java.io.IOException, AutomationException
sDocument
- The sDocument (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void open(java.lang.String sDocument, java.lang.String bsPassword) throws java.io.IOException, AutomationException
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.java.lang.String getDocumentFilename() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getDocumentType() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isUsesRelativePaths() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getDocumentVersion() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IPageLayout getPageLayout() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IActiveView getActiveView() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getMapCount() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IMap getMap(int mapIndex) throws java.io.IOException, AutomationException
mapIndex
- The mapIndex (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ILayer getLayer(int mapIndex, int layerIndex) throws java.io.IOException, AutomationException
mapIndex
- The mapIndex (in)layerIndex
- The layerIndex (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IPrinter getPrinter() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IPicture getThumbnail() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void close() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void getVersionInfo(boolean[] versionInfoMissing, int[] lMajor, int[] lMinor, int[] lRevision, int[] lBuild) throws java.io.IOException, AutomationException
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.void replaceContents(IMxdContents pObject) throws java.io.IOException, AutomationException
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.void setActiveView(IActiveView pActiveView) throws java.io.IOException, AutomationException
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.void save(boolean bUseRelativePaths, boolean bCreateThumnbail) throws java.io.IOException, AutomationException
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.void saveAs(java.lang.String sDocument, boolean bUseRelativePaths, boolean bCreateThumnbail) throws java.io.IOException, AutomationException
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 |