Skip to main content


Command Description

Get the number of all Forms (excluding non-table text), return number

Command Prototype

iRet = Mage.ExtractTablesNum(jsonRet)

Parameter Description

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


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


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

TracePrint "--------------------Get the number of sheets--------------------"
// --------------------------------------------------------
// [Remarks] Get the number of tables
// Input parameters:
// jsonRet--table recognition result

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

// Command prototype: iRet = Mage.ExtractTablesNum(jsonRet)
// --------------------------------------------------------

iRet Mage.ExtractTablesNum(jsonRet)