PrApi: Calibrate

Calibrate

Calibrates the object window of the opened device.

 Public Function Calibrate(
	  ByVal window_id As Long ) As Boolean

Parameters

window_id
The id of the object window. The possible values are defined in the PR_WINDOW_ID enumeration.

Return Values

On error false is returned and the error code and string of the control is set appropriately.

Languages

[Visual Basic] Public Function Calibrate(ByVal window_id As Long) As Boolean

[Delphi] function Calibrate(window_id: Integer): Boolean;

[C++] bool Calibrate(long window_id);

Remarks

This method generates data for correcting the geometrical and colour distortions of the capturing system. This process can take up to 30-60 seconds according to the computers speed. For this method to work the calibration image is needed.

See Also

Class PrApi Overview PrApi Properties PrApi Methods ButtonEvent Capture