SetDisplayEmbedded
Delphi
procedure SetDisplayEmbedded (DisplayIndex: LongInt; Value: Boolean);
C++Builder
void __fastcall SetDisplayEmbedded(System::LongInt DisplayIndex, bool Value);
C#
public void SetDisplayEmbedded(int DisplayIndex, bool Value);
VB.NET
Public Sub SetDisplayEmbedded(DisplayIndex As Integer, Value As Boolean)
Attaches the video window to the TVideoGrabber control, or detaches it from the control.
-
enabled: the video window is embedded into the TVideoGrabber control.
-
disabled: the video window is located on the desktop at the positions specified by invoking SetDisplayLeft and SetDisplayTop, and optionally SetDisplayMonitor if more than 1 monitor is used.
The DisplayIndex parameter must be in the 2..8 range (0 and 1 are reserved for the Display_... and DualDisplay_... properties).