Skip to content

Display_VideoPortEnabled

property

Delphi
property Display_VideoPortEnabled: Boolean index 0 read GetDisplayVideoPortEnabled write SetDisplayVideoPortEnabled default DEF_Display_VideoPortEnabled;
C++Builder
__property bool Display_VideoPortEnabled = {read=GetDisplayVideoPortEnabled, write=SetDisplayVideoPortEnabled, index=0, default=1};
C#
public bool Display_VideoPortEnabled { get; set; }
VB.NET
Public Property Display_VideoPortEnabled As Boolean
C++/Qt
BOOL GetDisplay_VideoPortEnabled ();
void SetDisplay_VideoPortEnabled (BOOL Value);

Enables/disables the video port, if available on the current video capture device.

Remarks

If a video port is available on the current video capture device (IsVideoPortAvailable returns true), and this property is true, the video capture device writes directly to video memory on the preview stream.

This provides a smoother display, however it is not possible to draw over video frames on the preview stream, even if the frame grabber is inserted on the preview stream.

To draw over video frames and get the results visible on the preview window, disable this property.