LEADTOOLS Support
Imaging
Imaging SDK Questions
Dynamically rescaling an image during Form_Resize
This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Tuesday, August 22, 2006 11:46:19 AM(UTC)
Groups: Registered
Posts: 2
All,
I am using the LEAD control in Visual Basic to display a bitmap. What I want to do is set a source bitmap into the control and then each time the Form (and thus LEAD control) is resized, I want to render the original bitmap to the new destination rect using the bicubic method. Ideally, I want to do this rescaling without modifying the bitmap. Is this possible? If not, what is your suggested approach?
Thanks in advance,
Eric
#2
Posted
:
Thursday, August 24, 2006 5:27:40 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
If I understood correctly, you want to fit the image to the size of the control and use Bicubic painting. If that is correct, then set the PaintSizeMode property to PAINTSIZEMODE_FIT and the PaintScaling property to PAINTSCALING_BICUBIC. Is this what you need?
#3
Posted
:
Thursday, August 24, 2006 7:44:35 AM(UTC)
Groups: Registered
Posts: 2
Yes, that's exactly what I need, thanks very much!
LEADTOOLS Support
Imaging
Imaging SDK Questions
Dynamically rescaling an image during Form_Resize
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.