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


ICoverageAnnotationLayerFactory.CreateAnnotationLayer Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IC > ICoverageAnnotationLayerFactory Interface > ICoverageAnnotationLayerFactory.CreateAnnotationLayer Method
ArcGIS Developer Help

ICoverageAnnotationLayerFactory.CreateAnnotationLayer Method

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

Product Availability

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

See Also

ICoverageAnnotationLayerFactory Interface