hello,
how to select part of an image from annotationviewer
Thanx
Select part of image in annotationviewer
Moderator: Alex
-
- Posts: 1
- Joined: Fri Oct 28, 2011 11:42 am
-
- Site Admin
- Posts: 2397
- Joined: Thu Jul 10, 2008 2:21 pm
Re: Select part of image in annotationviewer
Hello,
You need:
You need:
- Enable the Selection visual tool in the AnnotationViewer
Code: Select all
Selection selection = new Selection(); AnnotationViewer.CurrentTool = selection;
- Select part of image using mouse or programmatically
Code: Select all
selection.Rectangle = new Rectangle(...);
- Get a selection as image using the Selection.GetImage() method
Code: Select all
VintasoftImage image = selection.GetImage();