extractContentToFile

public final void extractContentToFile(String outputPath)

Extracts structured content from the document and writes it to a file. The pipeline used is determined by the setting and the output format by .

Parameters

outputPath

Path to the output file.


public final void extractContentToFile(String outputPath, DocumentLayoutJsonExportSettings settings)

Extracts structured content from the document and saves it to a JSON file with custom settings.

Parameters

outputPath

Path to the output JSON file.

settings

Settings controlling what to include in the JSON output.