Skip to content
Lamina PDF
0.9.0
GitHub
Open the web app

TextReplacement

Defined in: packages/sdk/src/types.ts:1078

One match of a search for DocumentContent.replaceText: its page (0-based), the glyphs it covers (run, a TextRunRef that names the text object and the match’s glyphs start..end among its) and the text that takes their place (empty deletes them).

0.8.0

readonly page: number;

Defined in: packages/sdk/src/types.ts:1079


readonly run: TextRunRef;

Defined in: packages/sdk/src/types.ts:1080


readonly text: string;

Defined in: packages/sdk/src/types.ts:1081