PrApi: SelfTest

SelfTest

Performs device self test.

 Public Function SelfTest(
	  ByVal condition As Long ) As Long

Parameters

condition
Test control condition that declares the type of object which is placed on the document window (0: unknown/nothing, 1: white image, 2: calibration image, 3: document with MRZ line)

Return Values

The list of partial test results which can be feed to a GxVariantOCX control.

Languages

[Visual Basic] Public Function SelfTest(ByVal condition As Long) As Long

[Delphi] function SelfTest(condition: Integer): Integer;

[C++] long SelfTest(long condition);

Remarks

It is important that the return value is not a simple integer but it represents a complex internal data which is referenced internally each time it is accessed. So do use it carefully (do not convert to / or compare with integers) to avoid memory leak problems.

See Also

Class PrApi Overview PrApi Properties PrApi Methods SelectApplication SetIntProperty