com.esri.arcgis.carto
Interface IFDOGraphicsLayerFactory

All Superinterfaces:
Serializable
All Known Implementing Classes:
FDOGraphicsLayerFactory

public interface IFDOGraphicsLayerFactory
extends Serializable

Provides access to members that create/find FDO graphics layers.

Superseded By

IAnnotationLayerFactory

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Method Summary
 ILayer createGraphicsLayer(IFeatureWorkspace graphicWorkspace, IFeatureDataset featureDataset, String graphicsLayerName, IGeometryDef pGeometryDef, IFeatureClass pAssociatedFeatureClass, IAnnotateLayerPropertiesCollection annoLayerProps, IGraphicsLayerScale referenceScale, ISymbolCollection symbolCollection, boolean autoCreate)
          Creates a new annotation feature class and returns a layer for it.
 IEnumBSTR findGraphicsLayerNames(IFeatureWorkspace graphicWorkspace)
          Returns the names of existing annotation feature classes.
 ILayer openGraphicsLayer(IFeatureWorkspace graphicWorkspace, IFeatureDataset featureDataset, String graphicsLayerName)
          Creates a new annotation feature class and returns a layer for it.
 

Method Detail

createGraphicsLayer

ILayer createGraphicsLayer(IFeatureWorkspace graphicWorkspace,
                           IFeatureDataset featureDataset,
                           String graphicsLayerName,
                           IGeometryDef pGeometryDef,
                           IFeatureClass pAssociatedFeatureClass,
                           IAnnotateLayerPropertiesCollection annoLayerProps,
                           IGraphicsLayerScale referenceScale,
                           ISymbolCollection symbolCollection,
                           boolean autoCreate)
                           throws IOException,
                                  AutomationException
Creates a new annotation feature class and returns a layer for it.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Parameters:
graphicWorkspace - A reference to a com.esri.arcgis.geodatabase.IFeatureWorkspace (in)
featureDataset - A reference to a com.esri.arcgis.geodatabase.IFeatureDataset (in)
graphicsLayerName - The graphicsLayerName (in)
pGeometryDef - A reference to a com.esri.arcgis.geodatabase.IGeometryDef (in)
pAssociatedFeatureClass - A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)
annoLayerProps - A reference to a com.esri.arcgis.carto.IAnnotateLayerPropertiesCollection (in)
referenceScale - A reference to a com.esri.arcgis.carto.IGraphicsLayerScale (in)
symbolCollection - A reference to a com.esri.arcgis.display.ISymbolCollection (in)
autoCreate - The autoCreate (in)
Returns:
A reference to a com.esri.arcgis.carto.ILayer
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

openGraphicsLayer

ILayer openGraphicsLayer(IFeatureWorkspace graphicWorkspace,
                         IFeatureDataset featureDataset,
                         String graphicsLayerName)
                         throws IOException,
                                AutomationException
Creates a new annotation feature class and returns a layer for it.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Parameters:
graphicWorkspace - A reference to a com.esri.arcgis.geodatabase.IFeatureWorkspace (in)
featureDataset - A reference to a com.esri.arcgis.geodatabase.IFeatureDataset (in)
graphicsLayerName - The graphicsLayerName (in)
Returns:
A reference to a com.esri.arcgis.carto.ILayer
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

findGraphicsLayerNames

IEnumBSTR findGraphicsLayerNames(IFeatureWorkspace graphicWorkspace)
                                 throws IOException,
                                        AutomationException
Returns the names of existing annotation feature classes.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Parameters:
graphicWorkspace - A reference to a com.esri.arcgis.geodatabase.IFeatureWorkspace (in)
Returns:
A reference to a com.esri.arcgis.system.IEnumBSTR
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.