|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.arcscene.SxDocument
public class SxDocument
Provides access to members that control the ArcScene document.
SxDocument is analogous to MxDocument and provides a handle to the running ArcScene document.
Constructor Summary | |
---|---|
SxDocument()
Constructs a SxDocument using ArcGIS Engine. |
|
SxDocument(Object obj)
Construct a SxDocument using a reference to such an object returned from ArcGIS Engine or Server. |
Method Summary | |
---|---|
void |
addDataGraph(IDataGraphBase graph)
Adds the graph to the collection. |
void |
addIDataGraphCollectionEventsListener(IDataGraphCollectionEvents theListener)
addIDataGraphCollectionEventsListener. |
void |
addISxDocumentEventsDispListener(ISxDocumentEventsDisp theListener)
addISxDocumentEventsDispListener. |
void |
addISxDocumentEventsListener(ISxDocumentEvents theListener)
addISxDocumentEventsListener. |
void |
addLayer(ILayer pLayer)
Adds a layer to the current focus map or scene. |
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. |
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. |
ISxContentsView |
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. |
ISxContentsView |
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. |
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 |
removeISxDocumentEventsDispListener(ISxDocumentEventsDisp theListener)
removeISxDocumentEventsDispListener. |
void |
removeISxDocumentEventsListener(ISxDocumentEvents theListener)
removeISxDocumentEventsListener. |
void |
setAreaPatch(IAreaPatch patch)
Default Area Patch. |
void |
setAuthor(String author)
The author of the document. |
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(ISxContentsView 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 |
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 SxDocument() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic SxDocument(Object obj) throws IOException
obj
to SxDocument
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problems
SxDocument theSxDocument = (SxDocument) 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 addISxDocumentEventsDispListener(ISxDocumentEventsDisp theListener) throws IOException
theListener
- An object that implements the com.esri.arcgis.arcscene.ISxDocumentEventsDisp interface.
IOException
- If there are communications problems.public void removeISxDocumentEventsDispListener(ISxDocumentEventsDisp theListener) throws IOException
theListener
- An object that implements the com.esri.arcgis.arcscene.ISxDocumentEventsDisp interface.
IOException
- If there are communications problems.public void addISxDocumentEventsListener(ISxDocumentEvents theListener) throws IOException
theListener
- An object that implements the com.esri.arcgis.arcscene.ISxDocumentEvents interface.
IOException
- If there are communications problems.public void removeISxDocumentEventsListener(ISxDocumentEvents theListener) throws IOException
theListener
- An object that implements the com.esri.arcgis.arcscene.ISxDocumentEvents 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 IBasicDocument2
getSelectedLayer
in interface ISxDocument
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object getSelectedItem() throws IOException, AutomationException
getSelectedItem
in interface IBasicDocument2
getSelectedItem
in interface ISxDocument
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object getContextItem() throws IOException, AutomationException
getContextItem
in interface IBasicDocument2
getContextItem
in interface ISxDocument
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 IBasicDocument2
setContextItem
in interface ISxDocument
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 IBasicDocument2
addLayer
in interface ISxDocument
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 IBasicDocument2
updateContents
in interface ISxDocument
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 IBasicDocument2
getSearchTolerancePixels
in interface ISxDocument
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 IBasicDocument2
setSearchTolerancePixels
in interface ISxDocument
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
in interface ISxDocument
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 ISxDocument
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 ISxDocument
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 ISxDocument
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 ISxDocument
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 ISxDocument
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 ISxDocument
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
setRelativePaths
in interface ISxDocument
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 ISxDocument
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 scene is displayed in ArcCatalog or not, when browsing scene documents.
setSavePreview
in interface ISxDocument
setSavePreview
in interface IDocumentInfo2
savePreview
- The savePreview (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ISxContentsView getCurrentContentsView() throws IOException, AutomationException
getCurrentContentsView
in interface ISxDocument
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setCurrentContentsViewByRef(ISxContentsView view) throws IOException, AutomationException
setCurrentContentsViewByRef
in interface ISxDocument
view
- A reference to a com.esri.arcgis.arcscene.ISxContentsView (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getContentsViewCount() throws IOException, AutomationException
getContentsViewCount
in interface ISxDocument
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ISxContentsView getContentsView(int index) throws IOException, AutomationException
getContentsView
in interface ISxDocument
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 ISxDocumentInfo
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 ISxDocumentInfo
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 ISxDocumentInfo
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 ISxDocumentInfo
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 ISxDocumentInfo
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 ISxDocumentInfo
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 ISxDocumentInfo
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 ISxDocumentInfo
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 ISxDocumentInfo
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 ISxDocumentInfo
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 ISxDocumentInfo
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 ISxDocumentInfo
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 ISxDocumentInfo
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 ISxDocumentInfo
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 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 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 setFillSymbol(IFillSymbol lSymbol) throws IOException, AutomationException
setFillSymbol
in interface IBasicDocumentDefaultSymbols
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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 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 |