private void documentAnnotationViewer1_AnnotationCreated(object sender, Atalasoft.Annotate.AnnotationEventArgs e) { Atalasoft.Annotate.UI.TextAnnotation txt = e.Annotation as Atalasoft.Annotate.UI.TextAnnotation; if (txt != null) { txt.EditMode = true; } Atalasoft.Annotate.UI.CalloutAnnotation ca = e.Annotation as Atalasoft.Annotate.UI.CalloutAnnotation; if (ca != null) { ca.EditMode = true; } e.Annotation.Selected = true; e.Annotation.ContextMenuStrip = this.contextMenuStrip1; EnableDisableMenuAndToolbarItems(); }
private void documentAnnotationViewer1_AnnotationRotated(object sender, Atalasoft.Annotate.AnnotationEventArgs e) { EnableDisableMenuAndToolbarItems(); }