IC Imaging Control C++

Grabber::getProperty Method

Grabber::getProperty Method

Returns the actual value of a property of the current video capture device.
long getProperty( tCameraPropertyEnum CameraPropType ) const;
long getProperty( tVideoPropertyEnum VideoPropType ) const;
Parameter Description

Specifies the camera property to be queried. The possible properties are specified in Grabber::tCameraPropertyEnum.


Specifies the video property to be queried. The possible properties are specified by Grabber::tVideoPropertyEnum.

Return value:

The current value of the given property.


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

<< Grabber

Get in touch with us

About The Imaging Source

Established in 1990, The Imaging Source is one of the leading manufacturers of industrial cameras, frame grabbers and video converters for production automation, quality assurance, logistics, medicine, science and security.

Our comprehensive range of cameras with USB 3.1, USB 3.0, USB 2.0, GigE interfaces and other innovative machine vision products are renowned for their high quality and ability to meet the performance requirements of demanding applications.

Automated Imaging Association ISO 9001:2015 certified

Contact us