---
title: "pdf:document — Document"
description: "iXML command pdf:document: Document."
canonical_url: "https://www.zeyos.com/ixml/ref/pdf-document"
markdown_url: "https://www.zeyos.com/ai/guide/ixml/ref/pdf-document.md"
section: "ixml-reference"
authority: "reference"
language: "en"
source_repository: "https://cloud.zeyos.com/__doc/ixmldoc.xml"
source_sha256: "a23f04e6a98628ca3c273c3b8dd2c33c034cfda3e0f00478d8793074fd2f70dd"
---

# pdf:document — Document

PDF:DOCUMENT generates a PDF document that is comprised of multiple sections.

### Attributes
| Name | Type | Default | Description |
| ---- | ---- | ------- | ----------- |
| var | var |  | Result variable name |
| author | string |  | Author |
| title | string |  | Title |
| subject | string |  | Subject |
| keywords | string |  | Keywords |
| pdfa | bool |  | PDF/A (version 3) |
| compress | bool |  | Compress |
| subsetting | bool |  | Font subsetting |
| unit | string | mm | Unit |
| zoom | string | default | Zoom |
| layout | string | SinglePage | Layout |
| mode | string | UseNone | Mode |

#### Possible values
Possible values for `unit`:
- mm — Millimeter
- cm — Centimeter
- in — Inch
- pt — Point

Possible values for `zoom`:
- fullpage — Full page on screen
- fullwidth — Maximum width of window
- real — Real size
- default — Viewer Default

Possible values for `layout`:
- SinglePage — One page at a time
- OneColumn — Pages in one column
- TwoColumnLeft — Pages in two columns, odd-numbered on the left
- TwoColumnRight — Pages in two columns, odd-numbered on the right
- TwoPageLeft — Two pages at a time, odd-numbered on the left (PDF 1.5)
- TwoPageRight — Two pages at a time, odd-numbered on the right (PDF 1.5)

Possible values for `mode`:
- UseNone — None
- UseOutlines — Document outline
- UseThumbs — Thumbnail images
- FullScreen — Fullscreen
- UseOC — Content group panel (PDF 1.5)
- UseAttachments — Attachments panel (PDF 1.6)


### Children
- pdf:signature (occurrence: single) — Signature

### Parents
- (not restricted in the reference)

### Result
- binding: var; type: string
