Multiple video windows
The Display_... and DualDisplay_... features control 2 video windows for the same source (e.g. a preview control embedded in the application and a 2nd full-screen window on another monitor).
To use more than 2 video windows, invoke the SetDisplay... functions directly and pass the index of the window, in the 2..8 range (0 and 1 are reserved for the Display... and DualDisplay... properties respectively).
Use the following sample code for 1 embedded preview (enabled by default, corresponding to the "Display..." properties) and 2 additional full-screen monitors:
VideoGrabber.SetDisplayActive (2, true);
VideoGrabber.SetDisplayActive (3, true);
VideoGrabber.StartPreview();
VideoGrabber.SetDisplayMonitor (2, 1);
VideoGrabber.SetDisplayMonitor (3, 2);
VideoGrabber.SetDisplayFullScreen (2, true);
VideoGrabber.SetDisplayFullScreen (3, true);
The functions related to the multiple windows are:
- SetDisplayActive
- SetDisplayAlphaBlendEnabled
- SetDisplayAlphaBlendValue
- SetDisplayAssociatedRenderer
- SetDisplayAutoSize
- SetDisplayAspectRatio
- SetDisplayEmbedded
- SetDisplayFullScreen
- SetDisplayMonitor
- SetDisplayMouseMovesWindow
- SetDisplayPanScanRatio
- SetDisplayParent
- SetDisplayStayOnTop
- SetDisplayTransparentColorEnabled
- SetDisplayTransparentColorValue
- SetDisplayVideoPortEnabled
- SetDisplayVisible
- SetDisplayLeft
- SetDisplayTop
- SetDisplayWidth
- SetDisplayHeight
- SetDisplayLocation