This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IC > ICoverageAnnotationLayerFactory Interface > ICoverageAnnotationLayerFactory.CreateAnnotationLayer Method (ArcObjects .NET 10.4 SDK) |
Create an annotation class (on disk), and returns a layer for it.
[Visual Basic .NET] Public Function CreateAnnotationLayer ( _ ByVal pAnnotationWorkspace As IFeatureWorkspace, _ ByVal pFeatureDataset As IFeatureDataset, _ ByVal annotationLayerName As String _ ) As ILayer
[C#] public ILayer CreateAnnotationLayer ( IFeatureWorkspace pAnnotationWorkspace, IFeatureDataset pFeatureDataset, string annotationLayerName );
[C++]
HRESULT CreateAnnotationLayer(
IFeatureWorkspace* pAnnotationWorkspace,
IFeatureDataset* pFeatureDataset,
BSTR annotationLayerName,
ILayer** ppLayer
);
[C++]
Parameters pAnnotationWorkspace [in]
pAnnotationWorkspace is a parameter of type IFeatureWorkspace pFeatureDataset [in]
pFeatureDataset is a parameter of type IFeatureDataset annotationLayerName [in] annotationLayerName is a parameter of type BSTR ppLayer [out, retval]
ppLayer is a parameter of type ILayer