---
title: "Reflow"
version: "0.9.0"
url: "https://docs.laminapdf.com/reference/sdk/interfaces/reflow/"
---

# Reflow

Defined in: [packages/sdk/src/reflow.ts:94](https://github.com/laudebugs/laminapdf/blob/v0.9.0/packages/sdk/src/reflow.ts#L94)

What `doc.reflow()` makes of a document.

## Since

0.2.0

## Properties

### available

```ts
readonly available: boolean;
```

Defined in: [packages/sdk/src/reflow.ts:96](https://github.com/laudebugs/laminapdf/blob/v0.9.0/packages/sdk/src/reflow.ts#L96)

Whether reader mode can show it: false only when no page has text or a picture.

***

### blocks

```ts
readonly blocks: readonly ReflowBlock[];
```

Defined in: [packages/sdk/src/reflow.ts:104](https://github.com/laudebugs/laminapdf/blob/v0.9.0/packages/sdk/src/reflow.ts#L104)

The blocks, in reading order.

***

### checks

```ts
readonly checks: ReflowChecks;
```

Defined in: [packages/sdk/src/reflow.ts:106](https://github.com/laudebugs/laminapdf/blob/v0.9.0/packages/sdk/src/reflow.ts#L106)

The measures the checks read.

***

### lang?

```ts
readonly lang?: string;
```

Defined in: [packages/sdk/src/reflow.ts:102](https://github.com/laudebugs/laminapdf/blob/v0.9.0/packages/sdk/src/reflow.ts#L102)

The document's language (the catalog's `/Lang`), for the reading view's `lang`.

***

### reason?

```ts
readonly reason?: ReflowRefusal;
```

Defined in: [packages/sdk/src/reflow.ts:100](https://github.com/laudebugs/laminapdf/blob/v0.9.0/packages/sdk/src/reflow.ts#L100)

Why the structure tree wasn't used (or `"nothing"` when unavailable); absent with tags.

***

### source

```ts
readonly source: ReflowSource;
```

Defined in: [packages/sdk/src/reflow.ts:98](https://github.com/laudebugs/laminapdf/blob/v0.9.0/packages/sdk/src/reflow.ts#L98)

Where the order comes from.
