LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

custom fit bitmap into picture window

I forget who pointed me to this example.  Anyway, when run, the program is supposed to take the picture you've pointed to and insert it into the picture box.  Although this is ultimately what I want to do, I'm hoping I can get some help changing it up a bit.
 
The picture selected is rarely the size of the picture box.  In my application, the picture box needs to stay the same size, but the picture needs to shrink to fit the box.  In fact, I have only two pictures that will ever go into each of the two picture boxes on my app.  How do I grow/shink them to fit my picture box.
0 Kudos
Message 1 of 3
(3,005 Views)
If you mean picture control, take a look Image Toolbox => Image Resize at:
 
George Zou
0 Kudos
Message 2 of 3
(2,995 Views)
You can also try using the VI found here or the Zoom Factor property of the picture indicator.

___________________
Try to take over the world!
0 Kudos
Message 3 of 3
(2,986 Views)