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 : Friday, February 1, 2019 4:31:27 PM(UTC)
Julio Fernandez

Groups: Registered
Posts: 2


Can the RasterImage Viewer be setup so that the user can scroll up and down an image using the mouse wheel?
 

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, February 5, 2019 5:58:19 PM(UTC)
Anthony Northrup

Groups: Registered, Tech Support, Administrators
Posts: 199

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

Hello Julio,

Apologies for the delay in getting back to you. By default our viewer will scroll just as any other windows control. If you have added any interactive modes to the viewer, this may be interfering with this behavior. What version of our SDK are you using? And which platform? Once I have this information I can send you a sample if required.

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

LEAD Logo
 
#3 Posted : Wednesday, February 6, 2019 9:55:17 AM(UTC)
Julio Fernandez

Groups: Registered
Posts: 2


I am using Leadtools Document Imaging Version 19.151125.050000 in .Net. and have the following handlers
AddHandler imgViewer.PostImagePaint, AddressOf imgViewer_PostImagePaint
AddHandler imgViewer.TransformChanged, AddressOf imgViewer_TransformChanged
AddHandler imgViewer.MouseDown, AddressOf imgViewer_MouseDown
AddHandler imgViewer.MouseEnter, AddressOf imgViewer_MouseEnter
AddHandler imgViewer.MouseLeave, AddressOf imgViewer_MouseLeave
AddHandler imgViewer.MouseMove, AddressOf imgViewer_MouseMove
 
#4 Posted : Thursday, February 7, 2019 8:45:19 AM(UTC)
Anthony Northrup

Groups: Registered, Tech Support, Administrators
Posts: 199

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

Hello Julio,

After some testing, I've found that you'll simply need to enable the EnableScrollingInterface property when creating your RasterImageViewer object:
https://www.leadtools.com/help/leadtools/v19/dh/wi/rasterimageviewer-enablescrollinginterface.html

The newer version of this control, simply named ImageViewer and found within the Leadtools.Controls assembly, appears to have this functionality always enabled. If possible, I'd recommend upgrading to the ImageViewer to allow support for upgrading to newer versions of our SDK in the future (such as the current version, 20).
https://www.leadtools.com/help/leadtools/v19/dh/c/imageviewer.html

Most of the properties/methods carry over directly, though if you attempt upgrading and require further assistance please don't hesitate to reach out again.

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-2020, Yet Another Forum.NET
This page was generated in 0.145 seconds.