getLayout

@Deprecated(message = "This method is deprecated and can be deleted in future. Use another one, please.", replaceWith = @ReplaceWith(imports = {}, expression = "getLayoutModel(documentId)"))
public final Resource<JSONObject> getLayout(Document document)

Deprecated

This method is deprecated and can be deleted in future. Use another one, please.

Replace with

getLayoutModel(documentId)

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

Resource with a JSONObject instance containing the layout or information about the error

Parameters

document

The document for which the layouts is requested.