PrApi: Capture

Capture

Captures an image sequence from the object window of the PR device.

 Public Function Capture ( ) As Boolean

Return Values

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

Languages

[Visual Basic] Public Function Capture() As Boolean

[Delphi] function Capture: Boolean;

[C++] bool Capture();

Remarks

To set the lights needed for capture call the SetPageLight() method. The captured images are stored in an internal array and can be accessed through a GX Image control.

See Also

Class PrApi Overview PrApi Properties PrApi Methods Calibrate CaptureOnMotDet