Oliver Zhu Posted July 18, 2013 Report Share Posted July 18, 2013 I'm a new labview user.nice to talk with you all.I want to draw a 2D picture on the black background in LabVIEW.And I need to make the background full of the whole screen.could somebody do me a favor?Thank you very much! Quote Link to comment
hooovahh Posted July 19, 2013 Report Share Posted July 19, 2013 Well you can start by not quadruple posting the same question. Seriously this is bad internet etiquette to have on any forum. That being said I do have a solution for your question which uses the .NET picture box. The reason I used that instead of the native 2D picture control is because it has the Stretch, or Zoom feature that resizes images very nicely. LabVIEW's picture control does have the Zoom Factor but it makes the image look like crap. I made the picture box control fit to the panel, and then set the panel to resize objects as the window resizes. This gives a more or less fluid resizing of the image. Picture Full Screen.zip 1 Quote Link to comment
mje Posted July 19, 2013 Report Share Posted July 19, 2013 The reason I used that instead of the native 2D picture control is because it has the Stretch, or Zoom feature that resizes images very nicely. LabVIEW's picture control does have the Zoom Factor but it makes the image look like crap. I really wish the LabVIEW picture control would be improved. It scales vector based images just fine but does so horribly for raster content. When you look at performance considerations the opposite is true: it can handle huge raster images, but even a moderate amount of vector content absolutely kills any hope of having a fluid experience. 2 Quote Link to comment
Oliver Zhu Posted July 19, 2013 Author Report Share Posted July 19, 2013 At first,sorry about the internet etiquette.I'm a Chinese and this is the first time for me to use the forum posts in English.There are so much things to learn.so it's great honor to talk with you .I'll do better next time.You two have the master level,the two ideas are very useful .I want my Chinese friends to know you so we can learn from each other not only the LabVIEW but also the culture about your country. Quote Link to comment
Ton Plomp Posted July 20, 2013 Report Share Posted July 20, 2013 You can get the size of the monitors (it's a application property) and then resize the window to fit the monitor. Ton Quote Link to comment
Oliver Zhu Posted July 21, 2013 Author Report Share Posted July 21, 2013 (edited) Yeah,I've done it as you said.Only in this way,can I get the right resolution ratio.This is my Skype account:zlb1988122@live.cn.If possible,may I have your Skype or MSN account?Thank you,Sir. Edited July 21, 2013 by Oliver Zhu Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.