Available in LEADTOOLS Document and Medical Imaging toolkits.
Annotation Functions: Object Properties Getting and Setting the Activation Property
L_AnnGetActiveState
L_AnnSetActiveState