#1
Posted
:
Monday, January 13, 2020 4:05:37 AM(UTC)
Groups: Registered
Posts: 9
I am using leadtools V20. I would like to know how to lazy load a multi-page document in .net core web application (HTML 5 viewer) ,to avoid performance issues.It would be helpful if I get a sample solution or please assist on the necessary steps.
Thanks in Advance.
#2
Posted
:
Monday, January 13, 2020 3:11:47 PM(UTC)
Groups: Registered, Tech Support, Administrators
Posts: 105
Was thanked: 3 time(s) in 3 post(s)
Hello Selvakumar,
For more information on the lazyLoad property in TypeScript and JavaScript, please visit the link below:
https://www.leadtools.co...thumbnails-lazyload.htmlThe property is a prototype in JavaScript:
Object.defineProperty(DocumentViewerThumbnails.prototype, 'lazyLoad',
get: function(),
set: function(value)
)
Typescript:
lazyLoad: boolean;
Do note that lazyLoad defaults to false, but is always on if the document is not read-only.
If you have any further questions please feel free to reach back out to us.
Thanks,
Matt Bresson
Developer Support Engineer
LEAD Technologies, Inc.
#3
Posted
:
Tuesday, January 14, 2020 12:51:35 AM(UTC)
Groups: Registered
Posts: 9
Hi Mathew,
I guess the lazyLoad property which you mentioned is to lazy load the images on the document. I have a requirement to load the document by pages. Suppose if an document contains about 10 pages, do we have an option to specify first load 4 pages of the document and then go on loading the remaining pages on user interaction. Correct me if am going in wrong direction.
Thanks,
Selvakumar A
#4
Posted
:
Tuesday, January 14, 2020 3:05:34 PM(UTC)
Groups: Registered, Tech Support, Administrators
Posts: 105
Was thanked: 3 time(s) in 3 post(s)
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.