> ## Documentation Index
> Fetch the complete documentation index at: https://docs.pdf4llm.com/llms.txt
> Use this file to discover all available pages before exploring further.

# use_layout()

> Analyse the visual layout of a page to determine reading order, column structure, and content regions.

## Signature

```python theme={null}
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](python/guides/extract-Markdown)**
>
> Extract Markdown with layout-aware reading order and structure.

> **[to\_markdown()](python/api/to_markdown)**
>
> Full to\_markdown() API reference.

> **[to\_json()](python/api/to_json)**
>
> Full to\_json() API reference.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.