Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Panel
borderColor#3D3D3D
bgColor#F4F4F4
titleColor#3D3D3D
borderWidth0
titleBGColor#3D3D3D
borderStylesolid

ON THIS PAGE

Table of Contents
indent20px

...

Code Block
languagejs
vm = CreateObject("roVideoMode")
sm = vm.GetScreenModes()

sm[0].video_mode="1920x1080x60p"
sm[0].transform = "normal"
sm[0].display_x=0
sm[0].display_y=0

sm[1].video_mode="1920x1080x60p"
sm[1].transform = "normal"
sm[1].display_x=0
sm[1].display_y=1080

sm[0].video_mode ="1920x1080x60p"
sm[1].enabled = true
sm[1].video_mode ="1920x1080x60p"
sm[1].display_x = 0 
sm[1].display_y = 1080

vm.SetScreenModes(sm)
Note
To calculate the size of a screen bezel in pixels from millimeters, you must multiply the screen width/height in pixels by the bezel size in millimeters, then divide by the screen width/height in millimeters. You can add this bezel area to the wall width and height to get the total bezel-adjusted resolution.


To configure a 1x2 video wall with bezel compensation, enter:

...

In this case the resulting canvas will be 1920x2180, and full screen video and graphics will display across the whole canvas.

Note

To calculate the size of a screen bezel in pixels from millimeters, you must multiply the screen width/height in pixels by the bezel size in millimeters, then divide by the screen width/height in millimeters. You can add this bezel area to the wall width and height to get the total bezel-adjusted resolution.

SetMode(mode As String) As Boolean 
Anchor
setmode
setmode

...

Specifies the target video mode of the device the next time it reboots. Once a video mode is specified using SetMode(), it can only be changed by a device reboot.

SetCustomModeline(roString modeline) As roBool

Sets the custom videomode with the supplied modeline (see Applying a Custom Resolution). The custom videomode can then be selected using SetMode.

GetModeForNextBoot() As String

...