Image Control
Moderator: Alex
-
- Posts: 10
- Joined: Mon Oct 30, 2017 11:16 pm
Image Control
I have an application where the same tif image is displayed in two different image viewers. The users of the application want to update one of the viewers with annotation tags and have the same tags show up in the other view as they add the tags. I can provide more details on how I currently setup the viewers for the single image. I just need to know if this is possible and, if so, what would be the general steps for this to happen.
-
- Site Admin
- Posts: 2397
- Joined: Thu Jul 10, 2008 2:21 pm
Re: Image Control
Hello,
For solving your task you need do the following steps:
For solving your task you need do the following steps:
- Add 2 annotation viewers (https://www.vintasoft.com/docs/vsimagin ... ewer.html) to the form of your application.
- Specify that the first viewer depends from the second viewer using the AnnotationViewer.MasterViewer property. More info see here: https://www.vintasoft.com/docs/vsimagin ... iewer.html
- Add images to the first/second viewer and images will appear in both viewers.
- Annotate image in the first/second viewer and image will be annotated in both viewers.
-
- Posts: 10
- Joined: Mon Oct 30, 2017 11:16 pm
Re: Image Control
Thanks for the response.
This did work, however, and I should have mentioned this earlier, each view gets it's on thumbnail which must act independently. View1 is master to View 2 which sets the image. View1 is master to thumbnail1 and View 2 is master to thumbnail 2. The user selecting a different page in thumbnail1 changes View1 but not View2. Currently, both Views will change.
This did work, however, and I should have mentioned this earlier, each view gets it's on thumbnail which must act independently. View1 is master to View 2 which sets the image. View1 is master to thumbnail1 and View 2 is master to thumbnail 2. The user selecting a different page in thumbnail1 changes View1 but not View2. Currently, both Views will change.
-
- Site Admin
- Posts: 2397
- Joined: Thu Jul 10, 2008 2:21 pm
Re: Image Control
Hello,
Do not set the ImageViewer.MasterViewer property and each viewer will work independently. More info please read here: https://www.vintasoft.com/docs/vsimagin ... Forms.html
Best regards, Alexander
Do not set the ImageViewer.MasterViewer property and each viewer will work independently. More info please read here: https://www.vintasoft.com/docs/vsimagin ... Forms.html
Best regards, Alexander