ArcGIS Pro 3.8 API Reference Guide
ArcGIS.Core.Data.DDL Namespace / AnnotationFeatureClassDescription Class / AnnotationFeatureClassDescription Constructor / AnnotationFeatureClassDescription Constructor(String,IEnumerable<FieldDescription>,ShapeDescription,CIMGeneralPlacementProperties,IEnumerable<CIMLabelClass>)
The name of the description.
The fields for the ArcGIS.Core.Data.Mapping.AnnotationFeatureClass.
The description for the shape ArcGIS.Core.Data.Field.
The general placement properties for the annotation.
The label classes for the annotation.

In This Topic
    AnnotationFeatureClassDescription Constructor(String,IEnumerable<FieldDescription>,ShapeDescription,CIMGeneralPlacementProperties,IEnumerable<CIMLabelClass>)
    In This Topic
    Creates a description object of the ArcGIS.Core.Data.Mapping.AnnotationFeatureClass.
    Syntax

    Parameters

    name
    The name of the description.
    fieldDescriptions
    The fields for the ArcGIS.Core.Data.Mapping.AnnotationFeatureClass.
    shapeDescription
    The description for the shape ArcGIS.Core.Data.Field.
    generalPlacementProperties
    The general placement properties for the annotation.
    labelClasses
    The label classes for the annotation.
    Exceptions
    ExceptionDescription

    name and/or fieldDescriptions is invalid.

    -or-

    shapeDescription must have ArcGIS.Core.Geometry.GeometryType.Polygon.

    -or-

    There must be at least one ArcGIS.Core.CIM.CIMLabelClass, and the list must have unique names and IDs. Each must also have a ArcGIS.Core.CIM.CIMLabelClass.TextSymbol.

    fieldDescriptions, shapeDescription, generalPlacementProperties, and/or labelClasses is null.
    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.0 or higher.
    See Also