Solved

Scale a bitmap to a picture control

Posted on 1997-09-20
3
377 Views
Last Modified: 2013-11-22
How can I scale a bitmap so that it fits into a fixed length and with picture control (a sort of Zooming function) ?

Thanks,
Filip
0
Comment
Question by:fideba
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 1

Accepted Solution

by:
jpcs earned 100 total points
ID: 1435607
If you use an image control insted a picture box control, you can change the stretch property to true, and your picture will be zoomed.
0
 
LVL 1

Author Comment

by:fideba
ID: 1435608
Cool !  I didn't know that.  Is there any way that I can
actually zoom (parts of) a picture ?
0
 
LVL 1

Expert Comment

by:jpcs
ID: 1435609
I'm not sure, but if you know about Bitmap file format, maybe you can be able to really zoom the image.
0

Featured Post

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question