Skip to content

TextItem

Unofficial

A single text item extracted from a PDF page.

Import:

import type { TextItem } from '@obsidian-typings/obsidian-catalyst-latest';

Signature:

export interface TextItem

Properties

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: