Skip to main content
Version: v6.5.0

Get document Category results

Command Description

Get the Category results of all pages from the Category results (dictionary structure) of the specified document

Command Prototype

arrayRet = Mage.ExtractClassificationInfo(jsonRet)

Command parameter

parametermandatorytypedefault valueInstructions
jsonRetTrueexpressionjsonRetResults returned after executing the "Category document" command

Return result

ArrayRet, Assign the result of running the command to this variable.

Run instance

/********************************* Get Document Classification Result ************************************
Command Prototype:
arrayRet = Mage.ExtractClassificationInfo(jsonRet)
Input Parameters:
jsonRet -- Classification result. Note: This is the result returned after executing the "Classify Document" command.
Output Parameters:
arrayRet -- Variable to store the output of the function call.
Important Notes:
None
********************************************************************************/
Dim arrayRet = ""
arrayRet = Mage.ExtractClassificationInfo(jsonRet)
TracePrint(arrayRet)