This document is archived and information here might be outdated. Recommended version. |
Convert labels to annotation.
[Visual Basic .NET]
Public Sub ConvertLabels ( _
)
[C#]
public void ConvertLabels (
);
[C++]
HRESULT ConvertLabels(
void
);
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.