Skip to main content

Get-All-Forms

Command Description

Get the number of all Forms (excluding non-table text), return an array of form objects

Command Prototype

arrayRet = Mage.ExtractAllTables(jsonRet)

Parameter Description

ParameterRequiredTypeDefaultDescription
jsonRetTrueexpressionjsonRetOutput variables from "Screen Form OCR", "Image Form OCR", "PDF Form OCR"

return

arrayRet,The variable used to save the output of the command.

Demo

Dim jsonRet=''  // Table recognition result, you need to use the result of self-recognizing the specified picture for assignment 

TracePrint "--------------------Get All Forms--------------------"
// --------------------------------------------------------
// [Remarks] Get all tables
// Input parameters:
// jsonRet--table recognition result

// Output parameters:
// arrayRet : The variable to which the output of the function call is saved

// Command prototype: arrayRet = Mage.ExtractAllTables(jsonRet)
// --------------------------------------------------------

arrayRet = Mage.ExtractAllTables(jsonRet)
TracePrint(arrayRet)