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, September 6, 2010 11:17:29 PM(UTC)
Benjamin

Groups: Registered
Posts: 16


Hello,
I would like to implement a ProgressBar while i load an image.
I subscribe to the LoadImage event of the RasterCodec class but i don't know wich value to use for the minimum, maximum and value properties of the ProgressBar.
Any idea?

Thanks,

Benjamin
 

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 : Wednesday, September 8, 2010 1:54:21 AM(UTC)

Basel  
Guest

Groups: Guests
Posts: 3,022

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

Benjamin,
You could set the minimum to zero, the maximum to be equal to the image's height and the current value (progress) to be equal to the event's e.Row property.
 
#3 Posted : Wednesday, September 8, 2010 3:17:29 AM(UTC)
Benjamin

Groups: Registered
Posts: 16


Thank you, it work great!
 
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.093 seconds.