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


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

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