PrApi: GetBarcode

GetBarcode

Reads the barcode from an unknown document.

 Public Function GetBarcode(
	  ByVal page As Long,
	  ByVal light As Long,
	  ByVal type_ As Long,
	  ByVal bctype As Long,
	  ByVal Index As Long ) As Long

Parameters

page
The actual page of the image.
light
The light settings. The possible values are defined in the PR_LIGHT enumeration.
type_
The type of the image. It must be PR_IT_ORIGINAL.
bctype
The type of the barcode to read (in case of more than one barcode).
Index
The index of the barcode to read (in case of more than one barcode).

Return Values

A document reference.

Languages

[Visual Basic] Public Function GetBarcode(ByVal page As Long, ByVal light As Long, ByVal type_ As Long, ByVal bctype As Long, ByVal index As Long) As Long

[Delphi] function GetBarcode(page: Integer; light: Integer; type_: Integer; bctype: Integer; index: Integer): Integer;

[C++] long GetBarcode(long page, long light, long type_, long bctype, long index);

Remarks

The returned document reference can be feed to the PrDoc ActiveX control.

See Also

Class PrApi Overview PrApi Properties PrApi Methods GetAuthResult GetCertificateId