
Grabber::getProperty Method |
|||||||||||||||||
| Returns the actual value of a property of the current video capture device. | |||||||||||||||||
| Syntax: | long getProperty( tCameraPropertyEnum CameraPropType ) const; long getProperty( tVideoPropertyEnum VideoPropType ) const; |
||||||||||||||||
|
|||||||||||||||||
| Return value: | The current value of the given property. |
||||||||||||||||
| Remarks: | This method returns the value of the specified property. The range of possible values can be determined by calling Grabber::getPropertyRange. Grabber::getPropertyDefault returns the default value for the specified property. If an error occurred, 0 is returned, which may also be a valid property value. You should use Grabber::getLastError to determine whether an error occurred or not. Note that the value for a property may only be queried, if "automatic mode" is disabled. |
||||||||||||||||
| See also: | Grabber, Grabber::getPropertyDefault, Grabber::getPropertyRange, Grabber::isPropertyAutomationAvailableWithCurDev, Grabber::isPropertyAutomationEnabled, Grabber::isPropertyAvailableWithCurDev, Grabber::setProperty, Grabber::tCameraPropertyEnum, Grabber::tVideoPropertyEnum | ||||||||||||||||