Available in LEADTOOLS Document and Medical Imaging toolkits.
LAnnotation::GetActiveState
LAnnotation::SetActiveState