Capture.PreviewWindow Property

DirectX.Capture

DirectX.Capture Class Library

Capture.PreviewWindow Property

The control that will host the preview window.

public System.Windows.Forms.Control PreviewWindow {get; set;}

Remarks

Setting this property will begin video preview immediately. Set this property after setting all other properties to avoid unnecessary changes to the internal filter graph (some properties like FrameSize require the internal filter graph to be stopped and disconnected before the property can be retrieved or set).

To stop video preview, set this property to null.

See Also

Capture Class | Capture Members | DirectX.Capture Namespace