TextItem
Unofficial
A single text item extracted from a PDF page.
Import:
import type { TextItem } from '@obsidian-typings/obsidian-public-latest';Signature:
export interface TextItemProperties
| Property | Type | Description | |
|---|---|---|---|
| dir | string | Text direction. | |
| fontName | string | Font name reference. | |
| hasEOL | boolean | Whether this item has an end-of-line marker. | |
| height | number | Height of the text item. | |
| str | string | The text string. | |
| transform | number[] | Transformation matrix for the text item. | |
| width | number | Width of the text item. |
Links to this page: