|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IGlobeDocument
IGlobeDocument - The IGlobeDocument interface provides properties and methods for reading globe document files (*.3dd) and writing and saving changes to globe document files (*.3dd). However, since it is not tied to the ArcGlobe application, application-specific functionality in the GlobeDocument will not be persisted.
Method Summary | |
---|---|
void |
close()
Close the globe document. |
void |
esri_new(String bsDocument)
Creates and opens a new globe document in preparation for the contents to be retrieve or updated. |
String |
getDocumentFilename()
The globe document filename that the GlobeDocument coclass is linked to. |
int |
getDocumentType()
The type of globe document currently loaded in the object. |
int |
getDocumentVersion()
Indicates if the version of the globe document is compatible with the current version of software. |
Object |
getGlobeObject()
The Globe object. |
ILayer |
getLayer(int lLayerIndex)
The Layer object at the specified index. |
int |
getLayerCount()
The number of Layer objects contained within the globe document. |
IPicture |
getThumbnail()
The thumbnail stored in the globe document. |
void |
getVersionInfo(boolean[] pbVersionInfoMissing,
int[] plMajor,
int[] plMinor,
int[] plRevision,
int[] plBuild)
Retrieve the detailed version information of the globe document. |
boolean |
isGlobeDocument(String bsDocument)
Indicates if the globe document is a valid globe document. |
boolean |
isPasswordProtected(String bsDocument)
Indicates if the globe document is protected by a passsword. |
boolean |
isPresent(String bsDocument)
Indicates if the globe document is present. |
boolean |
isReadOnly(String bsDocument)
Indicates if the globe document is read only. |
boolean |
isRestricted(String bsDocument)
Indicates if the use of the globe document is restricted to certain applications. |
boolean |
isUsesRelativePaths()
Indicates if the data in the globe document is referenced using relative paths. |
void |
open(String bsDocument,
String bsPassword)
Open the globe document in preparation for the contents to be retrieved or updated. |
void |
save(boolean bUseRelativePaths,
boolean bCreateThumnbail)
Save the contents of the globe document to the bound file. |
void |
saveAs(String bsDocument,
boolean bUseRelativePaths,
boolean bCreateThumnbail)
Save the contents of the globe document to the specified file name. |
void |
setGlobeObject(Object ppUnk)
The Globe object. |
Method Detail |
---|
boolean isGlobeDocument(String bsDocument) throws IOException, AutomationException
bsDocument
- The bsDocument (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isPresent(String bsDocument) throws IOException, AutomationException
bsDocument
- The bsDocument (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isReadOnly(String bsDocument) throws IOException, AutomationException
bsDocument
- The bsDocument (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isRestricted(String bsDocument) throws IOException, AutomationException
bsDocument
- The bsDocument (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isPasswordProtected(String bsDocument) throws IOException, AutomationException
bsDocument
- The bsDocument (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void esri_new(String bsDocument) throws IOException, AutomationException
bsDocument
- The bsDocument (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void open(String bsDocument, String bsPassword) throws IOException, AutomationException
bsDocument
- The bsDocument (in)bsPassword
- The bsPassword (in, optional, pass if not required)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getDocumentFilename() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getDocumentType() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isUsesRelativePaths() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getDocumentVersion() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setGlobeObject(Object ppUnk) throws IOException, AutomationException
ppUnk
- A reference to another Object (IUnknown) (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.Object getGlobeObject() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getLayerCount() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ILayer getLayer(int lLayerIndex) throws IOException, AutomationException
lLayerIndex
- The lLayerIndex (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IPicture getThumbnail() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void close() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void getVersionInfo(boolean[] pbVersionInfoMissing, int[] plMajor, int[] plMinor, int[] plRevision, int[] plBuild) throws IOException, AutomationException
pbVersionInfoMissing
- The pbVersionInfoMissing (in/out: use single element array)plMajor
- The plMajor (in/out: use single element array)plMinor
- The plMinor (in/out: use single element array)plRevision
- The plRevision (in/out: use single element array)plBuild
- The plBuild (in/out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void save(boolean bUseRelativePaths, boolean bCreateThumnbail) throws IOException, AutomationException
bUseRelativePaths
- The bUseRelativePaths (in, optional, pass true if not required)bCreateThumnbail
- The bCreateThumnbail (in, optional, pass true if not required)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void saveAs(String bsDocument, boolean bUseRelativePaths, boolean bCreateThumnbail) throws IOException, AutomationException
Saves the GlobeDocument that is Open and any changes that have been made to it to a new GlobeDocument with the specified filename. The filename that is supplied must be valid and include the *.3dd extension.
bsDocument
- The bsDocument (in)bUseRelativePaths
- The bUseRelativePaths (in, optional, pass true if not required)bCreateThumnbail
- The bCreateThumnbail (in, optional, pass true if not required)
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 |