Thread: Licence
View Single Post
  #4  
Old 11-13-2013, 02:58 PM
Frank Verberne Frank Verberne is offline
Member
 
Join Date: Mar 2008
Location: Netherlands
Posts: 148
Hi Amir,

I don't really get your problem, perhaps some example code could explain your problem better.

There are several options for a window:
- either use standard height & width (800 x 600)
- set your own height & width for the window
Code:
#Set these options before viz.go()
viz.setOption('viz.window.width','1280')
viz.setOption('viz.window.height','1024')
viz.go()
Beware, if you set the window to fullscreen this way with a Lite license, Vizard will automatically resize the window after some time (I think it's 30 sec).

If you want to get the resolution of the current screen you're running your application in (size of your fullscreen program with full license), you can use:
Code:
viz.getOption('viz.monitor.width')
viz.getOption('viz.monitor.height')
If you run into problems with some measurements if your screen size is changed, then consider making your measurements adapt to your screen size. That would make it most flexible, and easy to use no matter what the screen size. Again, some sample code showing your problems would be useful.
Reply With Quote