getLayout

final JSONObject getLayout(Document document)

Gets the layout of a document. The layout of the document describes the textual content of a document with positional information, based on the processed document.

Return

A JSONObject containing the layout.

Parameters

document

The document for which the layouts is requested.