|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IAVObjectConverter
Provides access to members that control the ArcView (3.x) object converter.
| Method Summary | |
|---|---|
IMap |
connectToView(IAVObject viewObject)
Returns the map associated with an AV view object. |
IEnvelope |
convertBounds(IAVObject rectObject,
double xOrigin,
double yOrigin)
Converts an AV rectangle (or MapDpy) object to an envelope. |
IColor |
convertColor(IAVObject colorObject)
Converts an AV color object. |
IElement |
convertElement(IAVObject graphicObject,
double xOrigin,
double yOrigin,
short pass,
IGraphicsContainer gContainer)
Converts an AV graphic object into an element. |
Font |
convertFont(IAVObject fontObject)
Converts an AV font object. |
IGeometry |
convertGeometry(IAVObject shapeObject,
double xOrigin,
double yOrigin)
Converts an AV shape object to a geometry object. |
IFeatureRenderer |
convertLegend(IAVObject legendObject)
Returns a Renderer from an ArcView legend object. |
ISpatialReference |
convertProjection(IAVObject projectionObj)
Converts an AV projection object to a spatial reference object. |
ISymbol |
convertSymbol(IAVObject symbolObj)
Returns a symbol from an ArcView symbol object. |
IMap |
getMap(int index)
The converted map at the given index. |
int |
getMapCount()
The number of maps converted. |
void |
importLayout(String layoutName,
IPageLayout pLayout)
Imports a layout from an APR file. |
void |
importView(String viewName,
IMap pMap)
Imports a view from an APR file. |
IAVObject |
nextObject()
Returns the next object in the project. |
IFeatureClass |
queryFeatureClass(IAVObject fThemeObject)
Returns a feature class with the same properties as the input feature theme object. |
IAVObject |
queryObjectByID(int objID)
Returns the object specified by the given object id. |
IAVObject |
queryObjectProperty(IAVObject obj,
String propertyName)
Returns the named property object associated with the given object. |
void |
readObjects(String filePath)
Reads an ArcView 3.x ODL file. |
void |
reset()
Resets the enumerator. |
void |
setFeatureSymbology(IAVObject themeObject,
IFeatureLayer flayer)
Sets the layer symbology for a given feature layer, based on a feature theme's legend. |
| Method Detail |
|---|
void readObjects(String filePath)
throws IOException,
AutomationException
filePath - The filePath (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
IAVObject nextObject()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void reset()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void importView(String viewName,
IMap pMap)
throws IOException,
AutomationException
viewName - The viewName (in)pMap - A reference to a com.esri.arcgis.carto.IMap (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void importLayout(String layoutName,
IPageLayout pLayout)
throws IOException,
AutomationException
layoutName - The layoutName (in)pLayout - A reference to a com.esri.arcgis.carto.IPageLayout (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
IAVObject queryObjectProperty(IAVObject obj,
String propertyName)
throws IOException,
AutomationException
obj - A reference to a com.esri.arcgis.cartoUI.IAVObject (in)propertyName - The propertyName (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
IAVObject queryObjectByID(int objID)
throws IOException,
AutomationException
objID - The objID (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
IFeatureClass queryFeatureClass(IAVObject fThemeObject)
throws IOException,
AutomationException
fThemeObject - A reference to a com.esri.arcgis.cartoUI.IAVObject (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void setFeatureSymbology(IAVObject themeObject,
IFeatureLayer flayer)
throws IOException,
AutomationException
themeObject - A reference to a com.esri.arcgis.cartoUI.IAVObject (in)flayer - A reference to a com.esri.arcgis.carto.IFeatureLayer (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
IFeatureRenderer convertLegend(IAVObject legendObject)
throws IOException,
AutomationException
legendObject - A reference to a com.esri.arcgis.cartoUI.IAVObject (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
ISymbol convertSymbol(IAVObject symbolObj)
throws IOException,
AutomationException
symbolObj - A reference to a com.esri.arcgis.cartoUI.IAVObject (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
IColor convertColor(IAVObject colorObject)
throws IOException,
AutomationException
colorObject - A reference to a com.esri.arcgis.cartoUI.IAVObject (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
Font convertFont(IAVObject fontObject)
throws IOException,
AutomationException
fontObject - A reference to a com.esri.arcgis.cartoUI.IAVObject (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
IElement convertElement(IAVObject graphicObject,
double xOrigin,
double yOrigin,
short pass,
IGraphicsContainer gContainer)
throws IOException,
AutomationException
graphicObject - A reference to a com.esri.arcgis.cartoUI.IAVObject (in)xOrigin - The xOrigin (in)yOrigin - The yOrigin (in)pass - The pass (in)gContainer - A reference to a com.esri.arcgis.carto.IGraphicsContainer (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
IEnvelope convertBounds(IAVObject rectObject,
double xOrigin,
double yOrigin)
throws IOException,
AutomationException
rectObject - A reference to a com.esri.arcgis.cartoUI.IAVObject (in)xOrigin - The xOrigin (in)yOrigin - The yOrigin (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
IGeometry convertGeometry(IAVObject shapeObject,
double xOrigin,
double yOrigin)
throws IOException,
AutomationException
shapeObject - A reference to a com.esri.arcgis.cartoUI.IAVObject (in)xOrigin - The xOrigin (in)yOrigin - The yOrigin (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
ISpatialReference convertProjection(IAVObject projectionObj)
throws IOException,
AutomationException
projectionObj - A reference to a com.esri.arcgis.cartoUI.IAVObject (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
IMap connectToView(IAVObject viewObject)
throws IOException,
AutomationException
viewObject - A reference to a com.esri.arcgis.cartoUI.IAVObject (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
int getMapCount()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
IMap getMap(int index)
throws IOException,
AutomationException
index - The index (in)
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 | ||||||||