Skip to content
Lamina PDF
0.9.0
GitHub
Open the web app

ContentTextRun

type ContentTextRun = ContentTextRunJs;

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

One run of text a page shows, as DocumentContent.textRuns lists it: one font and size on one baseline (one marked-content sequence on a tagged page) within one text object. It has its name for an editText op (run), the text it shows, its box in page space (bounds, [x0, y0, x1, y1]), fontName, fontSize, the line it is on (an index into the page’s lines in the order the page draws them) and, when it can’t be edited, why (readOnly, such as "type3-font").

0.5.0