AnnGroup example for C++ 5.0 and later
Note: This topic is for Document/Medical only.
For more information on declaration and unlocking procedures used in testing this example, refer to Annotation Declaration Information.
//This example groups all selected annotation objects.
void CTutorDlg::OnButtonAnngroup()
{
m_pRasterAnn->AnnGroup(m_pRasterAnn->GetAnnContainer(), ANN_FLAG_SELECTED | ANN_FLAG_RECURSE, "");
}