ConvertAutomaticToManualLabels()

Summary

Converts all the automatic labels on all layers and sets in a map into manual labels, i.e., text annotations at the same location and size.

Changes

In Version 6.0/2012 is still available but will now do nothing if called.

Syntax

ConvertAutomaticToManualLabels(string map_name)

Argument Contents
map_name Map whose automatic labels should be converted; if null, the current map

Notes

  • This conversion allows labels to be generated with automatic placement and de-cluttering logic, then converted to annotations for minor size or placement modification before printing or placing in a layout.

  • For a full list of GISDK functions for annotations, see Freehand Items (Annotations).

Example

Macro "auto to manual"
ConvertAutomaticToManualLabels()
HideMapLabels()
EndMacro

Error Codes

Error Type Meaning
NotFound Specified map does not exist

See Also

Function Summary
HideMapLabels() Turns label display off for all currently displayed layers