This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Tuesday, December 23, 2008 4:49:20 AM(UTC)
Groups: Registered
Posts: 3
I downloaded the evaluation copy of LeadTools .NET 32-bit eval 16. I am running WinXp, VS 2005 SP1, & Framework 2.0.50727 SP1.
I am able to zoom in and out by adjusting the ScaleFactor. I set the VerticalAlignMode = CENTER and HorizontalAlignMode = Center. When I zoom out the image is positioned in the center of the imageviewer but when I zoom in the image is not centered in the imageviewer but moves to the Top, Left corner of the image. If you are at the bottom of the image and you zoom in, it takes you to the top and then you have to move all the way back down and I would like to avoid that.
What I would like ot achieve is that when I zoom in, the image either gets centered or does not jump to the Top, Left corner.
#2
Posted
:
Tuesday, December 23, 2008 6:03:11 AM(UTC)
Groups: Registered, Tech Support
Posts: 1,326
Was thanked: 1 time(s) in 1 post(s)
There is an example that shows how to zoom while keeping the viewer centered. It is in the help topic for the RasterImageViewer.CenterAtPoint Method
There's an online edition of the help topic which you can find at:
http://www.leadtools.com/help/leadtools/v16/dh/wi/Leadtools.WinForms~Leadtools.WinForms.RasterImageViewer~CenterAtPoint.html
Thanks,
Maen Badwan
LEADTOOLS Technical Support
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.