GdPicture.NET.14.API
GdPicture14 Namespace / GdPictureOCR Class / GetFormFieldKeyRect 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.
Returns the left x-coordinate of the field key's bounding box, in pixels.
Returns the top y-coordinate of the field key's bounding box, in pixels.
Returns the width of the field key's bounding box, in pixels.
Returns the width of the field key's bounding box, in pixels.





In This Topic
GetFormFieldKeyRect Method (GdPictureOCR)
In This Topic
Returns the location of the key part of a specified form field.
Syntax
'Declaration
 
Public Function GetFormFieldKeyRect( _
   ByVal OCRResultID As String, _
   ByVal FieldIdx As Integer, _
   ByRef Left As Integer, _
   ByRef Top As Integer, _
   ByRef Width As Integer, _
   ByRef Height As Integer _
) As GdPictureStatus
 

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.
Left
Returns the left x-coordinate of the field key's bounding box, in pixels.
Top
Returns the top y-coordinate of the field key's bounding box, in pixels.
Width
Returns the width of the field key's bounding box, in pixels.
Height
Returns the width of the field key's bounding box, in pixels.

Return Value

A member of the GdPictureStatus enumeration.
Remarks

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

See Also