Skip to content

Compare: Use

New page
Showing with 3 additions and 3 deletions.
  1. +3 −3 Use.md
6 changes: 3 additions & 3 deletions Use.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@ $text = $pdf->getText();

| Option | Type | Default | Description |
| -------------------- | -------------------------- | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `setFontSpaceLimit` | Integer | `-50` | |
| `setHorizontalOffset` | String | ` ` | |
| `setFontSpaceLimit` | Integer | `-50` | Changing font space limit can be helpful when `getText()` returns a text with too many spaces. |
| `setHorizontalOffset` | String | ` ` | When words are broken up or when the structure of a table is not preserved, you can use `setHorizontalOffset`. |
| `setPdfWhitespaces` | String | `\0\t\n\f\r ` | |
| `setPdfWhitespacesRegex` | String | `[\0\t\n\f\r ]` | |
| `setRetainImageContent` | Boolean | `true` | |
| `setDecodeMemoryLimit` | Integer | `0` | |
| `setDecodeMemoryLimit` | Integer | `0` | If parsing fails because of memory exhaustion, you can use the following options. |