LEADTOOLS Support
General
General Questions
Using mouse wheel to scroll a RasterImage Viewer
#1
Posted
:
Friday, February 1, 2019 4:31:27 PM(UTC)
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?
#2
Posted
:
Tuesday, February 5, 2019 5:58:19 PM(UTC)
Groups: Registered, Tech Support, Administrators
Posts: 199
Was thanked: 28 time(s) in 28 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.
#3
Posted
:
Wednesday, February 6, 2019 9:55:17 AM(UTC)
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)
Groups: Registered, Tech Support, Administrators
Posts: 199
Was thanked: 28 time(s) in 28 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.htmlThe 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.htmlMost 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.
LEADTOOLS Support
General
General Questions
Using mouse wheel to scroll a RasterImage Viewer
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.