PrApi: GetOcrV

GetOcrV

Reads the OCR from an unknown document.

 Public Function GetOcrV(
	  ByVal page As Long,
	  ByVal light As Long,
	  ByVal type_ As Long,
	  ByVal ocrparams 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.
ocrparams
Ocr parameters comes from a GxVariantOCX control.

Return Values

A document reference.

Languages

[Visual Basic] Public Function GetOcrV(ByVal page As Long, ByVal light As Long, ByVal type_ As Long, ByVal ocrparams As Long) As Long

[Delphi] function GetOcrV(page: Integer; light: Integer; type_: Integer; ocrparams: Integer): Integer;

[C++] long GetOcrV(long page, long light, long type_, long ocrparams);

Remarks

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

See Also

Class PrApi Overview PrApi Properties PrApi Methods GetOcr GetProperty