This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Friday, July 26, 2013 10:31:16 PM(UTC)
Groups: Registered
Posts: 43
I am using LT17.5 and VB.net.
I want to pan the image using RasterImageViewer control. Image is loaded into the control as fit to using RasterPaintSizeMode as Fit. I want to pan the image without scrollbars and without zoom.
#2
Posted
:
Monday, July 29, 2013 4:03:30 AM(UTC)
Groups: Registered, Tech Support
Posts: 179
Panning the image with SizeMode is set to fit means part of the image will go outside the viewer and will not be visible as shown in attached illustration. Is this what you're trying to do? If yes, there is no default mode in our viewer and you can achive that using mouse move events and custom paint.
If that is not what you need, please send me more details about your requirement and what are you trying to achieve.
mohamed attached the following image(s):
Mohamed Abedallah
Developer Support Engineer
LEAD Technologies, Inc.
![LEAD Logo LEAD Logo](https://www.leadtools.com/images/new-site-images/leadtools-logo-header.png)
#3
Posted
:
Wednesday, July 31, 2013 9:19:21 PM(UTC)
Groups: Registered
Posts: 43
In simple word, I want the functionality like 'Offset' in CSMedicalViewerDemo_Original sample provided using RasterImageViewer.
Is there somthing available? Does that controls has some proeprties to achieve the same.
#4
Posted
:
Thursday, August 1, 2013 4:23:17 AM(UTC)
Groups: Registered, Tech Support
Posts: 179
There is no default mode in our viewer that does this.
However, you might be able to achieve that using mouse down/move events and custom painting.
To do the custom painting, you will need to disable the default painting of the RasterImage in our control, and instead perform your own painting using the RasterImagePainter Class. This class allows you to specify the exact rectangle where you want the image to be painted using the Paint Method.
Mohamed Abedallah
Developer Support Engineer
LEAD Technologies, Inc.
![LEAD Logo LEAD Logo](https://www.leadtools.com/images/new-site-images/leadtools-logo-header.png)
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.