GdPicture.NET.14.API
GdPicture14 Namespace / GdPictureOCR Class / GetFormFieldType Method
The unique result identifier of the executed OCR process obtained by the GdPictureOCR.RunOCR method.
The 0-based index of the form field pair within the specified OCR result. It must be a value between 0 and GdPictureOCR.GetFormFieldCount(OCRResultID) - 1.





In This Topic
GetFormFieldType Method (GdPictureOCR)
In This Topic
Returns the type of a specified form field.
Syntax
'Declaration
 
Public Function GetFormFieldType( _
   ByVal OCRResultID As String, _
   ByVal FieldIdx As Integer _
) As FormFieldType
public FormFieldType GetFormFieldType( 
   string OCRResultID,
   int FieldIdx
)
public function GetFormFieldType( 
    OCRResultID: String;
    FieldIdx: Integer
): FormFieldType; 
public function GetFormFieldType( 
   OCRResultID : String,
   FieldIdx : int
) : FormFieldType;
public: FormFieldType GetFormFieldType( 
   string* OCRResultID,
   int FieldIdx
) 
public:
FormFieldType GetFormFieldType( 
   String^ OCRResultID,
   int FieldIdx
) 

Parameters

OCRResultID
The unique result identifier of the executed OCR process obtained by the GdPictureOCR.RunOCR method.
FieldIdx
The 0-based index of the form field pair within the specified OCR result. It must be a value between 0 and GdPictureOCR.GetFormFieldCount(OCRResultID) - 1.

Return Value

A member of the FormFieldType enumeration.
Remarks

This method requires the KVP and Table Processing - Intelligent Redaction component to run.

See Also