Skip to content

Commit 530b5a8

Browse files
authored
Update spacing.md - Add commit about pt to twip conversion
1 parent 5ba1c0f commit 530b5a8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/usage/styles/spacing.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ $section->addText('Hello, World!', null, 'pStyle');
1111
See [`Sample_08_ParagraphPagination`](/samples/Sample_08_ParagraphPagination.php) for more code samples.
1212

1313
## Options
14-
- `after`. Space after paragraph in *twip*.
15-
- `before`. Space before paragraph in *twip*.
14+
- `after`. Space after paragraph in *twip*. 1pt = 20twip.
15+
- `before`. Space before paragraph in *twip*. 1pt = 20twip.
1616
- `line`. Space between lines within a paragraph in *twip*. If lineRule is auto, 240 (height of 1 line) will be added, so if you want a double line height, set this to 240.
1717
- `lineRule`. Line Spacing Rule. *auto*, *exact*, *atLeast*
1818
* See [`SimpleType > LineSpacingRule`](../simpletypes/linespacingrule.md) class constants for possible values.

0 commit comments

Comments
 (0)