Skip to main content

Signature

pymupdf4llm.use_layout(yes: bool = True) 

Overview

use_layout() switches on/off the use of the PyMuPDF Layout module. If yes=True (default), the layout module will be used for page analysis for optimal results. If yes=False, the layout module will not be used.

Parameters

yes
bool
required
Whether to use the layout module. Default is True.

See Also

Extract Markdown

Extract Markdown with layout-aware reading order and structure.

to_markdown()

Full to_markdown() API reference.

to_json()

Full to_json() API reference.