Hi sir,
I use Docuvieware for viewing the file, i annotate value in viewer i can save the file in locally download.
i need to save annotation in table and how to retrieve the value and load annotation in viewer for same file also need to get annotation properties like position , height , weight , page index etc.,
how to save annotation properties and load annotation properties in vieware
-
- Posts: 11
- Joined: Tue Feb 07, 2023 6:19 am
Re: how to save annotation properties and load annotation properties in vieware
Hi Sir,
You can get all information related to the annotations by using 2 javascript methods.
1/ Get annotation ID
2/ Get the annotation's properties
If you want to save them, you can simply save the returned JSON object from the second method and use it.
If you want to save/load the annotations, you can use these 2 server-side methods:
https://www.docuvieware.com/guides/aspn ... tions.html
https://www.docuvieware.com/guides/aspn ... ions.html
Best regards,
Fabio
You can get all information related to the annotations by using 2 javascript methods.
1/ Get annotation ID
Code: Select all
DocuViewareAPI.GetPageAnnotId("DocuVieware4", 1, 0);
Code: Select all
DocuViewareAPI.GetAnnotProperties("DocuVieware4", 'ID YOU GOT FROM PREVIOUS METHOD');
If you want to save/load the annotations, you can use these 2 server-side methods:
https://www.docuvieware.com/guides/aspn ... tions.html
https://www.docuvieware.com/guides/aspn ... ions.html
Best regards,
Fabio
-
- Posts: 11
- Joined: Tue Feb 07, 2023 6:19 am
Re: how to save annotation properties and load annotation properties in vieware
Hi fabio
I need to stroke color, fore color, fill color etc,. to save database for next load annotation.
width, top, height, left i got default in every where in viewer
I need to stroke color, fore color, fill color etc,. to save database for next load annotation.
width, top, height, left i got default in every where in viewer
Who is online
Users browsing this forum: No registered users and 1 guest