Video resolution to set.

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


public VideoCapabilities VideoResolution { get; set; }


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