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
// create lines annotation LinesAnnotationData linesAnnoData = new LinesAnnotationData(); // specify points of lines annotation linesAnnoData.Points.Add(new PointF(0, 0)); linesAnnoData.Points.Add(new PointF(500, 500)); // create view of lines annotation LinesAnnotationView linesAnnoView = new LinesAnnotationView(linesAnnoData); // get reference to annotation view collection of first image AnnotationViewCollection annoViews = annotationViewer1.AnnotationViewController[0]; // add lines annotation view to annotation view collection of first image annoViews.Add(linesAnnoView);Best regards, Alexander