Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Tuesday, August 22, 2006 11:46:19 AM(UTC)
ericflynn

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

 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Thursday, August 24, 2006 5:27:40 AM(UTC)

Bashar  
Guest

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)
ericflynn

Groups: Registered
Posts: 2


Yes, that's exactly what I need, thanks very much!

 
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.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.056 seconds.