Available in LEADTOOLS Document and Medical Imaging toolkits.
L_AnnGetRotateOptions
L_AnnSetRotateOptions