Hello,
In ASP.NET Core API When we are trying to open multiple file using array of jpg using openfile() Method , it send multiple request for DeserializeAnnotationCollection method even though only one image is display on document viewer.
Can you please share your input
Thanks
Jwalit Katira
Array of multiple images send mutiple request for DeserializeAnnotationCollection
Moderator: Alex
-
- Posts: 31
- Joined: Mon Sep 18, 2023 1:41 pm
-
- Site Admin
- Posts: 2397
- Joined: Thu Jul 10, 2008 2:21 pm
Re: Array of multiple images send mutiple request for DeserializeAnnotationCollection
Hello Jwalit,
If you are using WebAnnotationVieweJS control, the control gets information about annotations for each image loaded in viewer.
Best regards, Alexander
If you are using WebAnnotationVieweJS control, the control gets information about annotations for each image loaded in viewer.
Best regards, Alexander
-
- Posts: 31
- Joined: Mon Sep 18, 2023 1:41 pm
Re: Array of multiple images send mutiple request for DeserializeAnnotationCollection
Hello Alex,
We are using documentviewer and imageviewer below is the code how we call from JS
and even if its annotation viewer why do control gets information about annotations for each image when only first image is rendering
Let me know if this behavior can be changed
Thanks
Jwalit Katira
We are using documentviewer and imageviewer below is the code how we call from JS
Code: Select all
let images = [
"0.jpg",
"1.jpg",
"2.jpg",
"3.jpg",
"4.jpg",
"5.jpg",
]
imageViewer = docViewer.get_ImageViewer();
imageViewer.get_Images().openFiles(images);
Let me know if this behavior can be changed
Thanks
Jwalit Katira
-
- Site Admin
- Posts: 2397
- Joined: Thu Jul 10, 2008 2:21 pm
Re: Array of multiple images send mutiple request for DeserializeAnnotationCollection
Hello Jwalit,
Yes, WebAnnotationViewerJS control loads all annotations for all images in viewer when images are added to the viewer. We will improve this algorithm in the future.
Best regards, Alexander
Yes, WebAnnotationViewerJS control loads all annotations for all images in viewer when images are added to the viewer. We will improve this algorithm in the future.
Best regards, Alexander
-
- Posts: 13
- Joined: Wed Sep 13, 2023 11:56 am
Re: Array of multiple images send mutiple request for DeserializeAnnotationCollection
Hello Alex,
In which version or by which date we get fix for this issue?
In which version or by which date we get fix for this issue?
-
- Site Admin
- Posts: 2397
- Joined: Thu Jul 10, 2008 2:21 pm
Re: Array of multiple images send mutiple request for DeserializeAnnotationCollection
Hello Jwalit,
This performance problem is not critical and has effect only if many images are loaded in viewer. We will notify you when problem is fixed. Now I cannot give you the exact date.
Best regards, Alexander
This performance problem is not critical and has effect only if many images are loaded in viewer. We will notify you when problem is fixed. Now I cannot give you the exact date.
Best regards, Alexander