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


IConvertLabelsToAnnotation.ConvertLabels Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Carto)  

IConvertLabelsToAnnotation.ConvertLabels Method

Convert labels to annotation.

[Visual Basic .NET]
Public Sub ConvertLabels ( _
)
[C#]
public void ConvertLabels (
);
[C++]
HRESULT ConvertLabels(
void
);

Product Availability

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

Remarks

The ConvertLabels method is used to perform the conversion process after the object has been initialized via the Initialize method and the layers have been added via AddFeatureLayer.  ConvertLabels automatically adds map annotation to the map.  Geodatabase annotation layers are not automatically added to the map and are instead provided in an enumeration via the AnnoLayers property.

See Also

IConvertLabelsToAnnotation Interface

.NET Related Topics

Converting labels to geodatabase annotation for a single layer | Converting labels to geodatabase annotation for an entire map | Converting labels to map annotation for a single layer