VintaSoft Annotation .NET Plug-in Discussions

Questions, comments and suggestions concerning VintaSoft Annotation .NET Plug-in.

Board index < VintaSoft Imaging < VintaSoft Annotation .NET Plug-in Discussions

We are migrating to new forums engine, no new registration or posting currently available. TIA for your patience.

Set annotation location



Re: Set annotation location

Post by missionRoom »

I have now fixed it, moved the CanMove = false, etc, to the AnnotationBuildingFinished event. Now works as expected. Thanks for your help
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;
    }
}


Page 2 from 2: 1 2