Hello Basel ,
Thank you very much for the great support not only from you but from everybody there in the SupportTeam..The help you are offering is great...
So to the point..I had completely misunderstood the use of the annotations files.. I had understood that the AnnSave was referencing the total multipage tif and not only for each page..
I tried what you suggested and it worked.. So now i can have multi annotations in each page and in different pages..
Tring that, i came up with 2 more questions if you could help me again(thank you in advance)..
1. My first question is : In a multi-page tiff file with your help i placed annotations according to the psedo code
i. annontations on page1
ii. move on to page2 (in this step i save the annotations in page1)
iii. annotations on page2
iv. save annotations on page2...
etc...with the above steps everything works normal and i am able to see the annotations where i have placed them..
My problem is when i place annotations first in page2 and then in page1. In this case the annotations of page2 are shown in page1.. As a workaround - i have read that in an older post i think - i am thinking of inserting in the annotation file as many page tags as the number of pages of my multipage tiff. I think this should work.. But is this right or i am i doing something wrong and that is why i cannot see the annotations in the right place??
Also could you please explain me how AnnSave works. In the help "AnnSave method (Main Control)" i read that it creates the file and then according to the iModifyproperty it has different reactions..
So i am assuming that if the annotation file does not exists (our tiff has no annotations) then AnnSave saves all the annotations in the first page..
If the annotation file exists and has only one page tag if i try to save an annotation in the page 2 by using AnnSave (SAVE_REPLACE ) then i get an error 20310. In order to place these annotations i must use the AnnSave (SAVE_INSERT) and then it work fine.. Here is my second question : in order to use AnnSave (SAVE_REPLACE ) i must have in the annotation file as many page tags() as the number of SavePage (argument in AnnSave)??
I hope you can understand all i have said above - in my mind is complicated - hope what i asked can make sense to you.. As far as the AnnSave questions i am asking because i would like to catch all the cases in my application and maybe there is something that a haven;t thought of..
Thank you very very much for reading all of this long post and also thank you for your help again..
Maria
Edited by moderator Thursday, August 8, 2019 9:57:03 AM(UTC)
| Reason: Not specified