|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.arcglobe.GMxDocument
public class GMxDocument
Provides access to members that control the ArcGlobe document.
The GMxDocument coclass provides a handle to the running ArcGlobe document and its properties.
Constructor Summary | |
---|---|
GMxDocument()
Constructs a GMxDocument using ArcGIS Engine. |
|
GMxDocument(Object obj)
Construct a GMxDocument using a reference to such an object returned from ArcGIS Engine or Server. |
Method Summary | |
---|---|
void |
addContentsView(IContentsView contentsView)
Adds a contents view object to the TOC. |
void |
addDataGraph(IDataGraphBase graph)
Adds the graph to the collection. |
void |
addIDataGraphCollectionEventsListener(IDataGraphCollectionEvents theListener)
addIDataGraphCollectionEventsListener. |
void |
addIGMxDocumentEventsDispListener(IGMxDocumentEventsDisp theListener)
addIGMxDocumentEventsDispListener. |
void |
addIGMxDocumentEventsListener(IGMxDocumentEvents theListener)
addIGMxDocumentEventsListener. |
void |
addLayer(ILayer pLayer)
Adds a layer to the current focus map or scene. |
void |
clearContentsViews()
Removes all current contents views. |
void |
createPreview()
Creates a thumbnail preview of the document. |
void |
deletePreview()
Deletes the thumbnail preview of the document. |
boolean |
equals(Object o)
Compare this object with another |
IAcceleratorTable |
getAccelerators()
The accelerator table for this document. |
IActiveView |
getActivatedView()
The activated view. |
IAreaPatch |
getAreaPatch()
Default Area Patch. |
String |
getAuthor()
The author of the document. |
IFormattedTextSymbol |
getCallout()
Default Callout. |
String |
getCategory()
The category of the document. |
static String |
getClsid()
getClsid. |
ICommandBars |
getCommandBars()
The commandbars collection in this document. |
String |
getComments()
The comments for the document. |
IContentsView2 |
getContentsView(int index)
The contents view at the specified index. |
int |
getContentsViewCount()
The number of contents views in the document. |
Object |
getContextItem()
The last item that was right-clicked. |
String |
getCredits()
The credits of the document. |
IContentsView2 |
getCurrentContentsView()
The current contents view of the document. |
IPoint |
getCurrentLocation()
The current mouse location in map units. |
Font |
getCustomTOCFont()
Custom TOC Font. |
double |
getCustomTOCFontSize()
Custom TOC Font Size in Points. |
IDataGraphBase |
getDataGraph(int index)
Graph at the given index. |
int |
getDataGraphCount()
Number of graphs in the collection. |
IEnumDataset |
getDatasets()
The datasets in the document. |
Object |
getDateExported()
Date the document was last exported. |
Object |
getDatePrinted()
Date the document was last printed. |
Object |
getDateSaved()
Date the document was last saved. |
IColor |
getDefaultColor(int type)
The default color for the given type. |
String |
getDocumentTitle()
The title of the document. |
int |
getDocumentVersion()
The version of the document to save. |
IFillSymbol |
getFillSymbol()
Default Fill Symbol. |
IMap |
getFocusMap()
The current focus map. |
String |
getFolder()
The folder of the document. |
String |
getHyperlinkBase()
The hyperlink base of the document. |
IUID |
getID()
The unique id for this document. |
String |
getKeywords()
The keywords for the document. |
ILinePatch |
getLinePatch()
Default Line Patch. |
ILineSymbol |
getLineSymbol()
Default Line Symbol. |
IMaps |
getMaps()
The collection of maps in the document. |
IMarkerSymbol |
getMarkerSymbol()
Default Marker Symbol. |
String |
getName()
The name of the document. |
IOperationStack |
getOperationStack()
The operation stack. |
IPageLayout |
getPageLayout()
The page layout. |
IApplication |
getParent()
The application in which this document is open. |
double |
getPatchHeight()
Default Patch Height in Points. |
double |
getPatchWidth()
Default Patch Width in Points. |
String |
getPath()
The path of the document. |
IScene |
getScene()
The scene. |
double |
getSearchTolerance()
The global search tolerance in geographic units for selection. |
int |
getSearchTolerancePixels()
The global search tolerance in pixels for selection. |
Object |
getSelectedItem()
The selected item in the layer control. |
ILayer |
getSelectedLayer()
The selected layer in the layer control. |
IStyleGallery |
getStyleGallery()
Reference to the document's Style Gallery. |
String |
getSubject()
The subject of the document. |
ITableProperties |
getTableProperties()
Table properties, for Layers and Tables. |
IText3DElement |
getText3DElement()
Default 3D Text Element. |
ITextSymbol |
getTextSymbol()
Default Text Symbol. |
String |
getTitle()
The title of this document. |
int |
getType()
The type of this document. |
Object |
getVBProject()
The VBProject for this document. |
int |
hashCode()
the hashcode for this object |
boolean |
isHasPreviewSaved()
Indicates the presence of a thumbnail preview in the document. |
boolean |
isHasPreviewToSave()
Indicates the presence of a thumbnail preview to be saved with the document. |
boolean |
isRelativePaths()
Indicates if path names are stored relative to the document. |
boolean |
isSavePreview()
Indicates if a preview image is saved in the document. |
void |
removeAllDataGraphs()
Removes all graphs from the collection. |
void |
removeAllLayers()
Removes all layers. |
void |
removeDataGraph(IDataGraphBase graph)
Removes the graph from the collection. |
void |
removeIDataGraphCollectionEventsListener(IDataGraphCollectionEvents theListener)
removeIDataGraphCollectionEventsListener. |
void |
removeIGMxDocumentEventsDispListener(IGMxDocumentEventsDisp theListener)
removeIGMxDocumentEventsDispListener. |
void |
removeIGMxDocumentEventsListener(IGMxDocumentEvents theListener)
removeIGMxDocumentEventsListener. |
void |
setAreaPatch(IAreaPatch patch)
Default Area Patch. |
void |
setAuthor(String author)
The author of the document. |
void |
setCallout(IFormattedTextSymbol callout)
Default Callout. |
void |
setCategory(String category)
The category of the document. |
void |
setComments(String comments)
The comments for the document. |
void |
setContextItem(Object ppItem)
The last item that was right-clicked. |
void |
setCredits(String credits)
The credits of the document. |
void |
setCurrentContentsViewByRef(IContentsView2 view)
The current contents view of the document. |
void |
setCurrentLocation(IPoint mouseLoc)
The current mouse location in map units. |
void |
setCustomTOCFont(Font font)
Custom TOC Font. |
void |
setCustomTOCFontSize(double fontSizePts)
Custom TOC Font Size in Points. |
void |
setDefaultColor(int type,
IColor color)
The default color for the given type. |
void |
setDelayUpdateContents(boolean rhs1)
Indicates whether to ignore document update notifications. |
void |
setDocumentTitle(String title)
The title of the document. |
void |
setDocumentVersion(int docVersion)
The version of the document to save. |
void |
setFillSymbol(IFillSymbol lSymbol)
Default Fill Symbol. |
void |
setHyperlinkBase(String path)
The hyperlink base of the document. |
void |
setKeywords(String keywords)
The keywords for the document. |
void |
setLinePatch(ILinePatch patch)
Default Line Patch. |
void |
setLineSymbol(ILineSymbol lineSymbol)
Default Line Symbol. |
void |
setMarkerSymbol(IMarkerSymbol markerSymbol)
Default Marker Symbol. |
void |
setPageLayoutByRef(IPageLayout pageLayout)
The page layout. |
void |
setPatchHeight(double heightPts)
Default Patch Height in Points. |
void |
setPatchWidth(double widthPts)
Default Patch Width in Points. |
void |
setRelativePaths(boolean relPaths)
Indicates if path names are stored relative to the document. |
void |
setSavePreview(boolean savePreview)
Indicates if a preview image is saved in the document. |
void |
setScene(IScene pScene)
The scene. |
void |
setSearchTolerancePixels(int tol)
The global search tolerance in pixels for selection. |
void |
setSubject(String subject)
The subject of the document. |
void |
setText3DElement(IText3DElement text3DElement)
Default 3D Text Element. |
void |
setTextSymbol(ITextSymbol textSymbol)
Default Text Symbol. |
void |
updateContents()
Notifies the document that the contents have been updated. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
---|
getJintegraDispatch, release |
Constructor Detail |
---|
public GMxDocument() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic GMxDocument(Object obj) throws IOException
obj
to GMxDocument
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problems
GMxDocument theGMxDocument = (GMxDocument) obj;
Method Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public void addIGMxDocumentEventsDispListener(IGMxDocumentEventsDisp theListener) throws IOException
theListener
- An object that implements the com.esri.arcgis.arcglobe.IGMxDocumentEventsDisp interface.
IOException
- If there are communications problems.public void removeIGMxDocumentEventsDispListener(IGMxDocumentEventsDisp theListener) throws IOException
theListener
- An object that implements the com.esri.arcgis.arcglobe.IGMxDocumentEventsDisp interface.
IOException
- If there are communications problems.public void addIGMxDocumentEventsListener(IGMxDocumentEvents theListener) throws IOException
theListener
- An object that implements the com.esri.arcgis.arcglobe.IGMxDocumentEvents interface.
IOException
- If there are communications problems.public void removeIGMxDocumentEventsListener(IGMxDocumentEvents theListener) throws IOException
theListener
- An object that implements the com.esri.arcgis.arcglobe.IGMxDocumentEvents interface.
IOException
- If there are communications problems.public void addIDataGraphCollectionEventsListener(IDataGraphCollectionEvents theListener) throws IOException
theListener
- An object that implements the com.esri.arcgis.carto.IDataGraphCollectionEvents interface.
IOException
- If there are communications problems.public void removeIDataGraphCollectionEventsListener(IDataGraphCollectionEvents theListener) throws IOException
theListener
- An object that implements the com.esri.arcgis.carto.IDataGraphCollectionEvents interface.
IOException
- If there are communications problems.public IApplication getParent() throws IOException, AutomationException
getParent
in interface IDocument
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IApplication
public String getTitle() throws IOException, AutomationException
Title returns the name of the currently loaded document or template. It returns "Untitled" if the document has never been saved. If the document object is the Normal template, Title returns Normal.mxt.
Note that file extension is included with the name (e.g. MyDocument.mxd) if the Windows Explorer Folder Option "Hide extensions for known file types" is unchecked when the document is opened. Otherwise, Title returns the name without the file extension.
getTitle
in interface IDocument
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ICommandBars getCommandBars() throws IOException, AutomationException
CommandBars is a collection of all the toolbars available to a document. The ICommandBars interface allows you to set properties for all the commandbars and to create, find, or hide commandbars.
getCommandBars
in interface IDocument
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ICommandBars
public IAcceleratorTable getAccelerators() throws IOException, AutomationException
An AcceleratorTable is an object that contains a list of accelerator keys and the command identifiers associated with them.
getAccelerators
in interface IDocument
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IAcceleratorTable
public IUID getID() throws IOException, AutomationException
getID
in interface IDocument
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getType() throws IOException, AutomationException
Use the Type property to determine whether the document object is the document, a base template, or the Normal template. Type returns an esriDocumentType enumeration.
getType
in interface IDocument
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.esriDocumentType
public Object getVBProject() throws IOException, AutomationException
The VBProject property returns a reference to the VBA VBProject object associated with the document. Use the VBProject object to set properties for the project, to access the VBComponents collection (all the modules, class modules, forms, etc. in the project), and to access the References collection.
In the Visual Basic Editor in ArcMap, there can be up to three VBA projects. The document, the base template, and the Normal template all have a VBA project. In the following snapshot of the Project Explorer, the VBA project for the Normal template is called Normal (Normal.mxt). The VBA project for the current document is called Project (MyMap.mxd). This document is based on a template so there is also a VBA project for the template called TemplateProject (MyBase.mxt).
In the Visual Basic Editor in ArcCatalog, there is only one VBA project - Normal (Normal.gxt).
getVBProject
in interface IDocument
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ILayer getSelectedLayer() throws IOException, AutomationException
getSelectedLayer
in interface IGMxDocument
getSelectedLayer
in interface IBasicDocument2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object getSelectedItem() throws IOException, AutomationException
getSelectedItem
in interface IGMxDocument
getSelectedItem
in interface IBasicDocument2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object getContextItem() throws IOException, AutomationException
getContextItem
in interface IGMxDocument
getContextItem
in interface IBasicDocument2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setContextItem(Object ppItem) throws IOException, AutomationException
setContextItem
in interface IGMxDocument
setContextItem
in interface IBasicDocument2
ppItem
- A reference to another Object (IUnknown) (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addLayer(ILayer pLayer) throws IOException, AutomationException
addLayer
in interface IGMxDocument
addLayer
in interface IBasicDocument2
pLayer
- A reference to a com.esri.arcgis.carto.ILayer (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void updateContents() throws IOException, AutomationException
updateContents
in interface IGMxDocument
updateContents
in interface IBasicDocument2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ITableProperties getTableProperties() throws IOException, AutomationException
getTableProperties
in interface IBasicDocument2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setPageLayoutByRef(IPageLayout pageLayout) throws IOException, AutomationException
setPageLayoutByRef
in interface IBasicDocument2
pageLayout
- A reference to a com.esri.arcgis.carto.IPageLayout (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IPageLayout getPageLayout() throws IOException, AutomationException
getPageLayout
in interface IBasicDocument2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IActiveView getActivatedView() throws IOException, AutomationException
getActivatedView
in interface IBasicDocument2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IMap getFocusMap() throws IOException, AutomationException
getFocusMap
in interface IBasicDocument2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IStyleGallery getStyleGallery() throws IOException, AutomationException
getStyleGallery
in interface IBasicDocument2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getSearchTolerance() throws IOException, AutomationException
getSearchTolerance
in interface IBasicDocument2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getSearchTolerancePixels() throws IOException, AutomationException
getSearchTolerancePixels
in interface IGMxDocument
getSearchTolerancePixels
in interface IBasicDocument2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSearchTolerancePixels(int tol) throws IOException, AutomationException
setSearchTolerancePixels
in interface IGMxDocument
setSearchTolerancePixels
in interface IBasicDocument2
tol
- The tol (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IMaps getMaps() throws IOException, AutomationException
getMaps
in interface IBasicDocument2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IOperationStack getOperationStack() throws IOException, AutomationException
getOperationStack
in interface IBasicDocument2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IPoint getCurrentLocation() throws IOException, AutomationException
getCurrentLocation
in interface IBasicDocument2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setCurrentLocation(IPoint mouseLoc) throws IOException, AutomationException
setCurrentLocation
in interface IBasicDocument2
mouseLoc
- A reference to a com.esri.arcgis.geometry.IPoint (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void removeAllLayers() throws IOException, AutomationException
RemoveAllLayers deletes all the layers present in the Table Of Contents of the current ArcGlobe document and therefore, should be carefully used.
removeAllLayers
in interface IGMxDocument
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDelayUpdateContents(boolean rhs1) throws IOException, AutomationException
setDelayUpdateContents
in interface IGMxDocument
rhs1
- The rhs1 (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IColor getDefaultColor(int type) throws IOException, AutomationException
getDefaultColor
in interface IGMxDocument
type
- A com.esri.arcgis.arcmapui.esriMxDefaultColorTypes constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDefaultColor(int type, IColor color) throws IOException, AutomationException
setDefaultColor
in interface IGMxDocument
type
- A com.esri.arcgis.arcmapui.esriMxDefaultColorTypes constant (in)color
- A reference to a com.esri.arcgis.display.IColor (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IScene getScene() throws IOException, AutomationException
getScene
in interface IGMxDocument
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setScene(IScene pScene) throws IOException, AutomationException
setScene
in interface IGMxDocument
pScene
- A reference to a com.esri.arcgis.analyst3d.IScene (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isRelativePaths() throws IOException, AutomationException
isRelativePaths
in interface IGMxDocument
isRelativePaths
in interface IDocumentInfo2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setRelativePaths(boolean relPaths) throws IOException, AutomationException
RelativePaths can be set to True for storing a document with relative paths. Setting the property to False stores the document with full paths.
setRelativePaths
in interface IGMxDocument
setRelativePaths
in interface IDocumentInfo2
relPaths
- The relPaths (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isSavePreview() throws IOException, AutomationException
isSavePreview
in interface IGMxDocument
isSavePreview
in interface IDocumentInfo2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSavePreview(boolean savePreview) throws IOException, AutomationException
The SavePreview property specifies whether or not a thumbnail image of the globe is displayed in ArcCatalog or not, when browsing globe documents. For saving a preview of the current ArcGlobe document, this proerty should be set to True.
setSavePreview
in interface IGMxDocument
setSavePreview
in interface IDocumentInfo2
savePreview
- The savePreview (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IContentsView2 getCurrentContentsView() throws IOException, AutomationException
A contents view is a tab in the table of contents. ArcGlobe has three contents views: Display (TOCGMxDisplayView), Source (TOCGMxCatalogView), and Type (TOCGMxTypeView). Only one contents view can be active at a time. Use this property to set the current contents view and to get a reference to the current contents view. Setting the current contents view automatically calls IContentsView::Refresh.
getCurrentContentsView
in interface IGMxDocument
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setCurrentContentsViewByRef(IContentsView2 view) throws IOException, AutomationException
Use the CurrentContentsView to set the current contents view and to get a reference to the current contents view. Setting the current contents view automatically refreshes the table of contents (IContentsView::Refresh).
setCurrentContentsViewByRef
in interface IGMxDocument
view
- A reference to a com.esri.arcgis.arcmapui.IContentsView2 (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getContentsViewCount() throws IOException, AutomationException
A contents view is a tab in the table of contents. ArcGlobe has three contents views: Display (TOCGMxDisplayView), Source (TOCGMxCatalogView), and Type (TOCGMxTypeView). Only one contents view can be active at a time. This property returns the number of contents views registered in the ESRI Contents Views component category.
getContentsViewCount
in interface IGMxDocument
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IContentsView2 getContentsView(int index) throws IOException, AutomationException
getContentsView
in interface IGMxDocument
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getDocumentTitle() throws IOException, AutomationException
getDocumentTitle
in interface IGMxDocumentInfo
getDocumentTitle
in interface IDocumentInfo2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDocumentTitle(String title) throws IOException, AutomationException
setDocumentTitle
in interface IGMxDocumentInfo
setDocumentTitle
in interface IDocumentInfo2
title
- The title (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getSubject() throws IOException, AutomationException
getSubject
in interface IGMxDocumentInfo
getSubject
in interface IDocumentInfo2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSubject(String subject) throws IOException, AutomationException
setSubject
in interface IGMxDocumentInfo
setSubject
in interface IDocumentInfo2
subject
- The subject (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getAuthor() throws IOException, AutomationException
getAuthor
in interface IGMxDocumentInfo
getAuthor
in interface IDocumentInfo2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setAuthor(String author) throws IOException, AutomationException
setAuthor
in interface IGMxDocumentInfo
setAuthor
in interface IDocumentInfo2
author
- The author (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getCategory() throws IOException, AutomationException
getCategory
in interface IGMxDocumentInfo
getCategory
in interface IDocumentInfo2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setCategory(String category) throws IOException, AutomationException
setCategory
in interface IGMxDocumentInfo
setCategory
in interface IDocumentInfo2
category
- The category (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getComments() throws IOException, AutomationException
getComments
in interface IGMxDocumentInfo
getComments
in interface IDocumentInfo2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setComments(String comments) throws IOException, AutomationException
setComments
in interface IGMxDocumentInfo
setComments
in interface IDocumentInfo2
comments
- The comments (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getKeywords() throws IOException, AutomationException
getKeywords
in interface IGMxDocumentInfo
getKeywords
in interface IDocumentInfo2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setKeywords(String keywords) throws IOException, AutomationException
setKeywords
in interface IGMxDocumentInfo
setKeywords
in interface IDocumentInfo2
keywords
- The keywords (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getHyperlinkBase() throws IOException, AutomationException
getHyperlinkBase
in interface IGMxDocumentInfo
getHyperlinkBase
in interface IDocumentInfo2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setHyperlinkBase(String path) throws IOException, AutomationException
The HyperlinkBase property specifies the root Web address for hyperlink fields. For example, you can set a globe document’s HyperlinkBase property to http://arcgisdeveloperonline.esri.com/ and a Web-linked field on a feature to "ArcGISDeveloper". When you turn on field Hyperlinks for a layer and use the Hyperlink tool, the two are put together, and http://arcgisdeveloperonline.esri.com/ArcGISDeveloper becomes the hyperlink.
setHyperlinkBase
in interface IGMxDocumentInfo
setHyperlinkBase
in interface IDocumentInfo2
path
- The path (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumDataset getDatasets() throws IOException, AutomationException
getDatasets
in interface IDocumentDatasets
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setFillSymbol(IFillSymbol lSymbol) throws IOException, AutomationException
setFillSymbol
in interface IBasicDocumentDefaultSymbols
setFillSymbol
in interface IDocumentDefaultSymbols
lSymbol
- A reference to a com.esri.arcgis.display.IFillSymbol (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IFillSymbol getFillSymbol() throws IOException, AutomationException
getFillSymbol
in interface IBasicDocumentDefaultSymbols
getFillSymbol
in interface IDocumentDefaultSymbols
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setLineSymbol(ILineSymbol lineSymbol) throws IOException, AutomationException
setLineSymbol
in interface IBasicDocumentDefaultSymbols
setLineSymbol
in interface IDocumentDefaultSymbols
lineSymbol
- A reference to a com.esri.arcgis.display.ILineSymbol (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ILineSymbol getLineSymbol() throws IOException, AutomationException
getLineSymbol
in interface IBasicDocumentDefaultSymbols
getLineSymbol
in interface IDocumentDefaultSymbols
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMarkerSymbol(IMarkerSymbol markerSymbol) throws IOException, AutomationException
setMarkerSymbol
in interface IBasicDocumentDefaultSymbols
setMarkerSymbol
in interface IDocumentDefaultSymbols
markerSymbol
- A reference to a com.esri.arcgis.display.IMarkerSymbol (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IMarkerSymbol getMarkerSymbol() throws IOException, AutomationException
getMarkerSymbol
in interface IBasicDocumentDefaultSymbols
getMarkerSymbol
in interface IDocumentDefaultSymbols
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTextSymbol(ITextSymbol textSymbol) throws IOException, AutomationException
setTextSymbol
in interface IDocumentDefaultSymbols
textSymbol
- A reference to a com.esri.arcgis.display.ITextSymbol (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ITextSymbol getTextSymbol() throws IOException, AutomationException
getTextSymbol
in interface IDocumentDefaultSymbols
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setCallout(IFormattedTextSymbol callout) throws IOException, AutomationException
setCallout
in interface IDocumentDefaultSymbols
callout
- A reference to a com.esri.arcgis.display.IFormattedTextSymbol (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IFormattedTextSymbol getCallout() throws IOException, AutomationException
getCallout
in interface IDocumentDefaultSymbols
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setAreaPatch(IAreaPatch patch) throws IOException, AutomationException
setAreaPatch
in interface IBasicDocumentDefaultSymbols
setAreaPatch
in interface IDocumentDefaultSymbols
patch
- A reference to a com.esri.arcgis.carto.IAreaPatch (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IAreaPatch getAreaPatch() throws IOException, AutomationException
getAreaPatch
in interface IBasicDocumentDefaultSymbols
getAreaPatch
in interface IDocumentDefaultSymbols
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setLinePatch(ILinePatch patch) throws IOException, AutomationException
setLinePatch
in interface IBasicDocumentDefaultSymbols
setLinePatch
in interface IDocumentDefaultSymbols
patch
- A reference to a com.esri.arcgis.carto.ILinePatch (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ILinePatch getLinePatch() throws IOException, AutomationException
getLinePatch
in interface IBasicDocumentDefaultSymbols
getLinePatch
in interface IDocumentDefaultSymbols
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setPatchWidth(double widthPts) throws IOException, AutomationException
setPatchWidth
in interface IBasicDocumentDefaultSymbols
setPatchWidth
in interface IDocumentDefaultSymbols
widthPts
- The widthPts (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getPatchWidth() throws IOException, AutomationException
getPatchWidth
in interface IBasicDocumentDefaultSymbols
getPatchWidth
in interface IDocumentDefaultSymbols
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setPatchHeight(double heightPts) throws IOException, AutomationException
setPatchHeight
in interface IBasicDocumentDefaultSymbols
setPatchHeight
in interface IDocumentDefaultSymbols
heightPts
- The heightPts (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getPatchHeight() throws IOException, AutomationException
getPatchHeight
in interface IBasicDocumentDefaultSymbols
getPatchHeight
in interface IDocumentDefaultSymbols
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setCustomTOCFont(Font font) throws IOException, AutomationException
setCustomTOCFont
in interface IBasicDocumentDefaultSymbols
setCustomTOCFont
in interface IDocumentDefaultSymbols
font
- A reference to a com.esri.arcgis.support.ms.stdole.Font (A com.esri.arcgis.support.ms.stdole.Font COM typedef) (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Font getCustomTOCFont() throws IOException, AutomationException
getCustomTOCFont
in interface IBasicDocumentDefaultSymbols
getCustomTOCFont
in interface IDocumentDefaultSymbols
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setCustomTOCFontSize(double fontSizePts) throws IOException, AutomationException
setCustomTOCFontSize
in interface IBasicDocumentDefaultSymbols
setCustomTOCFontSize
in interface IDocumentDefaultSymbols
fontSizePts
- The fontSizePts (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getCustomTOCFontSize() throws IOException, AutomationException
getCustomTOCFontSize
in interface IBasicDocumentDefaultSymbols
getCustomTOCFontSize
in interface IDocumentDefaultSymbols
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IText3DElement getText3DElement() throws IOException, AutomationException
getText3DElement
in interface IDocument3DDefaultSymbols
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setText3DElement(IText3DElement text3DElement) throws IOException, AutomationException
setText3DElement
in interface IDocument3DDefaultSymbols
text3DElement
- A reference to a com.esri.arcgis.carto.IText3DElement (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void clearContentsViews() throws IOException, AutomationException
clearContentsViews
in interface IContentsViewEdit
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addContentsView(IContentsView contentsView) throws IOException, AutomationException
addContentsView
in interface IContentsViewEdit
contentsView
- A reference to a com.esri.arcgis.arcmapui.IContentsView (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDocumentVersion(int docVersion) throws IOException, AutomationException
setDocumentVersion
in interface IDocumentVersion
docVersion
- A com.esri.arcgis.system.esriArcGISVersion constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getDocumentVersion() throws IOException, AutomationException
Determines which version an object is persisted. This can be useful when saving an object ObjectStream or MemoryBlobStream and you want the version of that object to be compatible with previous releases of ArcGIS. Not all persistable objects implement IDocumentVersion; you should ensure the object supports this interface before accessing this property.
getDocumentVersion
in interface IDocumentVersion
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getCredits() throws IOException, AutomationException
getCredits
in interface IDocumentInfo2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setCredits(String credits) throws IOException, AutomationException
setCredits
in interface IDocumentInfo2
credits
- The credits (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getName() throws IOException, AutomationException
getName
in interface IDocumentInfo2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getPath() throws IOException, AutomationException
getPath
in interface IDocumentInfo2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getFolder() throws IOException, AutomationException
getFolder
in interface IDocumentInfo2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object getDateSaved() throws IOException, AutomationException
getDateSaved
in interface IDocumentInfo2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object getDatePrinted() throws IOException, AutomationException
getDatePrinted
in interface IDocumentInfo2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object getDateExported() throws IOException, AutomationException
getDateExported
in interface IDocumentInfo2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void createPreview() throws IOException, AutomationException
createPreview
in interface IDocumentPreview
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void deletePreview() throws IOException, AutomationException
deletePreview
in interface IDocumentPreview
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isHasPreviewSaved() throws IOException, AutomationException
isHasPreviewSaved
in interface IDocumentPreview
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isHasPreviewToSave() throws IOException, AutomationException
isHasPreviewToSave
in interface IDocumentPreview
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getDataGraphCount() throws IOException, AutomationException
getDataGraphCount
in interface IDataGraphCollection
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IDataGraphBase getDataGraph(int index) throws IOException, AutomationException
getDataGraph
in interface IDataGraphCollection
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void removeDataGraph(IDataGraphBase graph) throws IOException, AutomationException
removeDataGraph
in interface IDataGraphCollection
graph
- A reference to a com.esri.arcgis.carto.IDataGraphBase (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addDataGraph(IDataGraphBase graph) throws IOException, AutomationException
addDataGraph
in interface IDataGraphCollection
graph
- A reference to a com.esri.arcgis.carto.IDataGraphBase (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void removeAllDataGraphs() throws IOException, AutomationException
removeAllDataGraphs
in interface IDataGraphCollection
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 |