GetFormFieldKeyRect Method (GdPictureOCR)
Returns the location of the key part of a specified form field.
public GdPictureStatus GetFormFieldKeyRect(
string ,
int ,
out int ,
out int ,
out int ,
out int
)
public function GetFormFieldKeyRect(
: String;
: Integer;
Out : Integer;
Out : Integer;
Out : Integer;
Out : Integer
): GdPictureStatus;
public function GetFormFieldKeyRect(
: String,
: int,
: int,
: int,
: int,
: int
) : GdPictureStatus;
public: GdPictureStatus GetFormFieldKeyRect(
string* ,
int ,
[PARAMFLAG::Out] int ,
[PARAMFLAG::Out] int ,
[PARAMFLAG::Out] int ,
[PARAMFLAG::Out] int
)
public:
GdPictureStatus GetFormFieldKeyRect(
String^ ,
int ,
[Out] int ,
[Out] int ,
[Out] int ,
[Out] int
)
'Declaration
Public Function GetFormFieldKeyRect( _
ByVal As String, _
ByVal As Integer, _
ByRef As Integer, _
ByRef As Integer, _
ByRef As Integer, _
ByRef 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.