LEADTOOLS Support
Imaging
Imaging SDK Questions
How to move a image outside of the visible part of RasterImageViewer control?
This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Thursday, August 20, 2009 3:36:22 AM(UTC)
Groups: Registered
Posts: 5
I try to use the pan for put my image outside of the visible part of my RasterImageViewer Control. Can you explain me how I can do it?
Thanks
#2
Posted
:
Thursday, August 20, 2009 5:28:03 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
You can load the image on a temporary RasterImage object, then use the RasterImage.Paint Method in the RasterImageViewer to set the desired display rectangle of the image.
#3
Posted
:
Thursday, August 20, 2009 5:48:10 AM(UTC)
Groups: Registered
Posts: 5
Thanks for your answer but do you have another way to make it? Because I have to show this RasterImage many times during the process and with your solution , this RasterImage use a lot of memory.
#4
Posted
:
Sunday, August 23, 2009 1:10:59 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
I can't think of a different way.
However, the memory usage is the same. In my approach, you load the image into an external RasterImage object.
The 'normal' way of displaying an image is load the image into RasterImageViewer.Image instead.
In both cases, you will be holding only one copy of the full bitmap in memory.
What do you mean that the RasterImage uses a lot of memory?
LEADTOOLS Support
Imaging
Imaging SDK Questions
How to move a image outside of the visible part of RasterImageViewer control?
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.