extract Content To File
Extracts structured content from the document and saves it to a JSON file. Uses the document's DocumentLayoutJsonExportSettings for configuration.
Parameters
output Path
Path to the output JSON 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
output Path
Path to the output JSON file.
settings
Settings controlling what to include in the JSON output.