|
VideoCaptureDeviceGetCameraProperty Method
|
Gets the current setting of a camera property.
Namespace:
Accord.Video.DirectShow
Assembly:
Accord.Video.DirectShow (in Accord.Video.DirectShow.dll) Version: 3.8.0
Syntax public bool GetCameraProperty(
CameraControlProperty property,
out int value,
out CameraControlFlags controlFlags
)
Public Function GetCameraProperty (
property As CameraControlProperty,
<OutAttribute> ByRef value As Integer,
<OutAttribute> ByRef controlFlags As CameraControlFlags
) As Boolean
Request Example
View SourceParameters
- property
- Type: Accord.Video.DirectShowCameraControlProperty
Specifies the property to retrieve. - value
- Type: SystemInt32
Receives the value of the property. - controlFlags
- Type: Accord.Video.DirectShowCameraControlFlags
Receives the value indicating whether the setting is controlled manually or automatically
Return Value
Type:
BooleanReturns true on sucee or false otherwise.
Exceptions Exception | Condition |
---|
ArgumentException | Video source is not specified - device moniker is not set. |
ApplicationException | Failed creating device object for moniker. |
NotSupportedException | The video source does not support camera control. |
See Also