Code: Select all
private void annotationViewer_AnnotationBuildingFinished(object sender, AnnotationViewEventArgs e)
{
if (e.AnnotationView != null)
{
// Prevent the interation controllers from showing, since they can't be used till a tool is unselected
e.AnnotationView.CanMove = false;
e.AnnotationView.CanResize = false;
e.AnnotationView.CanRotate = false;
}
}