This document is archived and information here might be outdated.  Recommended version.


IFDOGraphicsLayerFactory.OpenGraphicsLayer Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

IFDOGraphicsLayerFactory.OpenGraphicsLayer Method

Creates a new annotation feature class and returns a layer for it.

[Visual Basic .NET]
Public Function OpenGraphicsLayer ( _
    ByVal graphicWorkspace As IFeatureWorkspace, _
    ByVal FeatureDataset As IFeatureDataset, _
    ByVal graphicsLayerName As String _
) As ILayer
[C#]
public ILayer OpenGraphicsLayer (
    IFeatureWorkspace graphicWorkspace,
    IFeatureDataset FeatureDataset,
    string graphicsLayerName
);
[C++]
HRESULT OpenGraphicsLayer(
  IFeatureWorkspace* graphicWorkspace,
  IFeatureDataset* FeatureDataset,
  BSTR graphicsLayerName,
  ILayer** Layer
);
[C++]

Parameters graphicWorkspace [in]
graphicWorkspace is a parameter of type IFeatureWorkspace FeatureDataset [in]
FeatureDataset is a parameter of type IFeatureDataset graphicsLayerName [in] graphicsLayerName is a parameter of type BSTR Layer [out, retval]
Layer is a parameter of type ILayer

Product Availability

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

See Also

IFDOGraphicsLayerFactory Interface