Available in LEADTOOLS Document and Medical Imaging toolkits.
Annotation Functions: Input and Output Deleting Pages from an Annotation File
L_AnnDeletePage
L_AnnDeletePageMemory
L_AnnDeletePageOffset