02-06-2009 06:03 AM
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.
02-06-2009 06:19 AM
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
02-06-2009 06:26 AM
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 ?
02-06-2009 06:45 AM
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
02-06-2009 06:48 AM
ok, i'll see it !
Thank you !
02-06-2009 06:54 AM
Not usre if these ideas will help...
Paint the frame transpaerent
Offset the picture in X and Y by a couple of pixels
Ben
02-06-2009 07:04 AM
02-06-2009 07:07 AM
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
02-06-2009 07:08 AM - edited 02-06-2009 07:09 AM
Hi Jerome,
i think the offset should be every time the same.
Mike
02-06-2009 07:40 AM