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 : Thursday, May 25, 2006 4:39:53 AM(UTC)

newbie  
newbie

Groups: Registered
Posts: 6


Hello,

I am using a Raster Image Viewer control to load a multi-page TIFF file. If the user scrolls to the bottom of the first page and then moves to the next page  of the image, the scrollbars stay at the bottom showing the bottom of the 2nd page. Is there a way to reset the scroll bar to the top when the user moves b/w pages?

I have set the viewer's AutoResetScrollPosition property to true, but I this resets the scroll bars for new images only and not b/w pages of the same image.

Any ideas/ suggestions will be much appreciated.

 

Thanks in advance.

PP

 

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 : Friday, May 26, 2006 11:29:38 AM(UTC)

Otis  
Guest

Groups: Guests
Posts: 3,022

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

You can set the scroll bar position programmatically like below.

Dim Position As Point
Position.X = 0
Position.Y = 0
RasterImageViewer1.AutoScrollPosition = Position

 

 
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.336 seconds.