Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Monday, November 26, 2018 4:54:39 PM(UTC)

jraggio  
jraggio

Groups: Registered
Posts: 10


Hello, I am using Leadtools 14.5 for .Net 2
I have a 5000 Pages TIF document I need to load in a rasterviewer and rasterimagelist
I load the first page to the viewer and I had created all the 5000 items in the rasterimagelist without a thumbnail,
after that I just update the thumbnails image for the first 10 items
I want to create the thumbnail image on demand, just after the user release the mouse when finish scrolling.
I am trying to find an event where to implement this
could you please help me with that?
Thanks a lot.
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Tuesday, November 27, 2018 4:03:23 PM(UTC)
Anthony Northrup

Groups: Registered, Tech Support, Administrators
Posts: 199

Was thanked: 28 time(s) in 28 post(s)

Hello,

We don't seem to have online links for v14.5's RasterImageList, however when looking over the v15 documentation page it appears there is a Scroll event:
https://www.leadtools.com/help/leadtools/v15/dh/wi/leadtools.winforms~leadtools.winforms.rasterimagelist~scroll_ev.html

From there, you can use the TopIndex property to determine the first visible item:
https://www.leadtools.com/help/leadtools/v15/dh/wi/leadtools.winforms~leadtools.winforms.rasterimagelist~topindex.html

The VisibleColumns and VisibleRows properties can be used for determining which other items are visible:
It may also be beneficial to keep track of which items have actual content, so you can dispose off-screen items and keep the memory usage down.

If v14.5 does not have this event or the properties mentioned, please let me know and I will attempt to create a sample project demonstrating the correct method for doing this.

Thanks,
Anthony Northrup
Developer Support Engineer
LEAD Technologies, Inc.

LEAD Logo
 
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.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.048 seconds.