Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How to dynamically change the image size in PictureBox control in VC#?

Posted on 2011-03-22
2
Medium Priority
?
288 Views
Last Modified: 2012-05-11
Would like to resize the control from 10,10 to 20,20. Can it be done with code?
0
Comment
Question by:jl66
2 Comments
 
LVL 16

Accepted Solution

by:
Imran Javed Zia earned 2000 total points
ID: 35193627
Hi,
If your Control Name is ctrl you can use any of following,  

ctrl.Size = new Size(20, 20);

or
ctrl.Width = 20;
ctrl.Height = 20;

Thanks
0
 

Author Closing Comment

by:jl66
ID: 35201806
Thanks.
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
In real business world data are crucial and sometimes data are shared among different information systems. Hence, an agreeable file transfer protocol need to be established.
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Suggested Courses

886 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