getLayout

Task<JSONObjectgetLayout(@NonNull() 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 task which will resolve to a string containing the layout xml.

Parameters

document

The document for which the layouts is requested.