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

# pdf:style — Style

PDF:STYLE defines the style for its content.

### Attributes
| Name | Type | Default | Description |
| ---- | ---- | ------- | ----------- |
| align | string | (parent style, initially L) | Horizontal alignment |
| valign | string | (parent style) | Vertical alignment |
| dir | string | (parent style, initially LTR) | Text direction |
| font | string | (parent style, initially arial) | Font family |
| fontstyle | string | (parent style) | Font style |
| fontsize | float | (parent style, initially 12) | Font size (pt) |
| fontspace | float | (parent style) | Font spacing |
| fontstretch | int | (parent style, initially 100) | Font stretching (%) |
| bgcolor | string | (parent style) | Background color |
| textcolor | string | (parent style, initially #000) | Text color |
| border | string | (parent style) | Border |
| borderwidth | float | (parent style) | Border width |
| bordercolor | string | (parent style, initially #000) | Border color |
| lineheight | float | (parent style) | Line height |
| padding | float | (parent style) | Padding |
| rotate | int | (parent style) | Rotate (degrees) |

#### Possible values
Possible values for `align`:
- L — Left
- C — Center
- R — Right
- J — Justify

Possible values for `valign`:
- T — Top
- M — Middle
- B — Bottom

Possible values for `dir`:
- LTR — Left-to-right
- RTL — Right-to-left

Possible values for `font`:
- arial — Arial
- serif — Serif
- sans — Sans-serif
- mono — Monospace

Possible values for `fontstyle`:
- B — Bold
- I — Italic
- U — Underline
- O — Overline
- D — Line-through

Possible values for `border`:
- L — Left
- R — Right
- T — Top
- B — Bottom


### Children
- (none)

### Parents
- pdf:header
- pdf:footer
- pdf:body

### Result
- (none documented)
