This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IF > IFDOGraphicsLayerFactory Interface > IFDOGraphicsLayerFactory.OpenGraphicsLayer Method (ArcObjects .NET 10.4 SDK) |
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