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


IFDOGraphicsLayerFactory.OpenGraphicsLayer Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IF > IFDOGraphicsLayerFactory Interface > IFDOGraphicsLayerFactory.OpenGraphicsLayer Method
ArcGIS Developer Help

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
);
[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

Product Availability

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

See Also

IFDOGraphicsLayerFactory Interface