Available in LEADTOOLS Document and Medical Imaging toolkits.
Annotation Functions: Input and Output Getting Annotation File Information
L_AnnFileInfo
L_AnnFileInfoMemory
L_AnnFileInfoOffset
L_AnnGetOptions
L_AnnSetOptions