LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

remove edge from picture control

Hi all,

 

I want to put an image in fullscreen mode. To do that i'm using a picture control. Firstly, in my diagram, I initialize the size and the origin position of the picture control then i do the same with the front panel.

 

I remove the name of the picture control in the front panel. So, the picture control is effectively in full screen mode but not the image because of the tiny edge at the left and the edge at the top of the picture control.

 

Is it possible to remove edge so that the origin of my image square with the origin of the screen (ie the top left corner of the screen)?

 

Thank you for help

 

Jérôme.

0 Kudos
Message 1 of 11
(3,837 Views)

Hi Jerome,

you can make the picture control bigger than your screen. If it's bigger then you have no frame around it.

 

Hope it helps.

Mike

0 Kudos
Message 2 of 11
(3,836 Views)

Thank you Mike,

 

Yes, i thougt about it, but i want to be sure that the origin of my image square with the origin of the screen.....is it possible to handle my image coordinate in the screen coordinate instead of the picture control coordinate ?

0 Kudos
Message 3 of 11
(3,829 Views)

Hi Jerome,

i'm not sure, but maybe you can customize it in this way. If this is not possible, then may be the .Net picture helps.

 

Mike

0 Kudos
Message 4 of 11
(3,823 Views)

ok, i'll see it !

 

Thank you !

0 Kudos
Message 5 of 11
(3,821 Views)

Not usre if these ideas will help...

 

Paint the frame transpaerent

 

Offset the picture in X and Y by a couple of pixels

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 6 of 11
(3,819 Views)
But i don't know what will be the screen resolution.....so i don't know what will be the offset value...
0 Kudos
Message 7 of 11
(3,816 Views)

Hmmm... I have never experimented with how the border size changes with screen resolution. There are two properties, Bounds, and Draw area size that may help.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 8 of 11
(3,811 Views)

Hi Jerome,

i think the offset should be every time the same.

 

Mike

Message Edited by MikeS81 on 02-06-2009 02:09 PM
0 Kudos
Message 9 of 11
(3,810 Views)

"J.H" <x@no.email> wrote in message
news:1233922209361-848298@exchange.ni.com...
> Hi all,&nbsp;I want to put an image in fullscreen mode. To do that i'm
using a picture control. Firstly, in my diagram, I initialize the size and
the origin position of the picture control then i do the same with the front
panel.&nbsp;I remove the name of the picture control in the front panel. So,
the picture control is effectively in full screen mode but not the image
because of the tiny edge at the left and the edge at the top of the picture
control. &nbsp;Is it possible to remove edge so that the origin of my image
square with the origin of the screen (ie the top left corner of the
screen)?&nbsp;Thank you for help&nbsp;J&eacute;r&ocirc;me.

So, you set the position and size of the picture control using property
nodes. When you do, simply subtract one or two from the position, and add
twice as much the the size! But don't do the same for the front panel size!
Then the control will cover the entire screen.

Regards,

Wiebe.


Message 10 of 11
(3,790 Views)