Desired size of captured video frames.

Namespace:  AForge.Video.DirectShow
Assembly:  AForge.Video.DirectShow (in AForge.Video.DirectShow.dll) Version: 2.2.3.0 (2.2.3.0)

Syntax

C#
public Size DesiredFrameSize { get; set; }

Remarks

The property sets desired video frame size. However capture device may not always provide video frames of configured size due to the fact that the size is not supported by it.

If the property is set to size (0, 0), then capture device uses its own default video frame size configuration.

Default value of the property is set to (0, 0).

Note:The property should be configured before video source is started to take effect.

See Also