Video resolution to set.

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

Syntax

C#
public VideoCapabilities VideoResolution { get; set; }

Remarks

The property allows to set one of the video resolutions supported by the camera. Use VideoCapabilities property to get the list of supported video resolutions.

Note:The property must be set before camera is started to make any effect.

Default value of the property is set to nullNothingnullptra null reference (Nothing in Visual Basic), which means default video resolution is used.

See Also