Skip to content

SetDisplayEmbedded

method

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)

Used to detach/attach the video window from the TVideoGrabber 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 window Index specified must be in the 2..8 range (0..1 reserved to Display... and Dual_Display)