PrDoc

PrDoc


The PR Doc Control is a dedicated ActiveX control for resolving the result of the document recognition functions given by the PR Api.

The available values for the GxImage Controls ImageSrcParam property are the field codes in string format. The automatic image update functionality in PrDoc Control is not supported, so the UpdateImage method of the GxImage Control must be called manually.

Class Diagram

PrDoc

Public:

Methods:

NameDescription
 FieldReturns the data of a field in string format.  
 FieldBinaryReturns the data of a field in binary format.  
 FieldBinaryVReturns the data of a field in binary format.  
 FieldFrameReturns the frame of an optically recognized field.  
 FieldPropertyReturns a property of a field.  
 FieldPropertyVReturns a property of a field.  
 FieldStatusReturns the error status of a field.  
 GetError[Obsolete] Returns the error code and error string of the control.  
 GetErrorCodeReturns the error code of the control.  
 GetErrorStringReturns the error string of the control.  
 GetImageSourceReturns a binary value representing the control's class as an image source.  
 GetSourceHandleReturns a binary value representing the control's object as a source handle.  
 SaveSaves a document to a mass storage device in the specific file format.  
 SaveToMemSaves a document to memory in the specific file format.  
 ToGxVariantConverts a document to a format which can be feed to a GxVariantOCX control.  

Private:

Properties:

NameDescription
 Code[Read only] The code of the document.  
 DocumentReference to the inner structure of the control.  
 RuntimeConfigRuntime configuration of the ActiveX component.  
 Status[Read only] The overall error status of the document.  
 Valid[Read only] The validity of the documents data.  
History