Available in LEADTOOLS Document and Medical Imaging toolkits.
AnnDestroy example for C++ 4.0 and later
Note: This topic is for Document/Medical only.
m_LEAD1.AnnDestroy(m_LEAD1.GetAnnContainer(), ANNFLAG_RECURSE | ANNFLAG_SELECTED);