LEADTOOLS provides the AnnCodecs class for handling annotation files. Annotation files can be saved as xml data in a string or loaded from a string that contains previously saved annotation data in xml format. To load annotation objects use AnnCodecs.Load. To save annotation objects, use AnnCodecs.Save.
Files using the AnnFormat.Annotations format can be easily modified using a standard text editor (for example, notepad.exe). The data can also be easily parsed using any standard XML parser.