Solved

Resize .JPG image to fit my panel

Posted on 2014-09-25
1
528 Views
Last Modified: 2014-09-26
Experts, I have a split container on my form and i set the background image of panel 2 to a graphic in my resources. Zoom, Stretch, Center, none of these seems to resize the graphic the way i want it. How can i take the size of my panel to and resize that graphic to those sizes and then set the background image property to the new graphic?
0
Comment
Question by:Basicfarmer
1 Comment
 
LVL 40

Accepted Solution

by:
Jacques Bourgeois (James Burger) earned 500 total points
ID: 40345386
Put a PictureBox in the Panel, and assign it's Image property to you .JPG.

Set its Dock property to Fill.

It will automatically size to the size of the Panel.

If this is not what you expect, please tell us what you exactly mean by "resize the graphic the way i want it". This can have many meanings, and each might require a different solution.
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
If you haven’t already, I encourage you to read the first article (http://www.experts-exchange.com/articles/18680/An-Introduction-to-R-Programming-and-R-Studio.html) in my series to gain a basic foundation of R and R Studio.  You will also find the …
The viewer will learn how to implement Singleton Design Pattern in Java.
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…

762 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

Need Help in Real-Time?

Connect with top rated Experts

26 Experts available now in Live!

Get 1:1 Help Now