Click or drag to resize

VideoCaptureSet Method (VideoCaptureProperties, Double)

Sets a property in the VideoCapture.

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public bool Set(
	VideoCaptureProperties propertyId,
	double value
)

Parameters

propertyId
Type: OpenCvSharpVideoCaptureProperties
Property identifier from cv::VideoCaptureProperties (eg. cv::CAP_PROP_POS_MSEC, cv::CAP_PROP_POS_FRAMES, ...) or one from @ref videoio_flags_others
value
Type: SystemDouble
Value of the property.

Return Value

Type: Boolean
`true` if the property is supported by backend used by the VideoCapture instance.
See Also