TextLineItem
Defined in: src/layout/page-doc.ts:189
A laid-out line of text (tokens carry their fonts/sizes/positions).
Extends
Section titled “Extends”Properties
Section titled “Properties”artifact?
Section titled “artifact?”
readonlyoptionalartifact?:"pagination"
Defined in: src/layout/page-doc.ts:185
Tagged PDF: explicitly mark this item as a pagination artifact (running
header/footer, §14.8.2.2.2). Distinguishes header/footer text from
not-yet-tagged body content so it is typed /Artifact /Pagination, never a P.
Inherited from
Section titled “Inherited from”baselineY
Section titled “baselineY”
readonlybaselineY:Pt
Defined in: src/layout/page-doc.ts:194
Distance from the page TOP down to the text baseline.
readonlyline:Line
Defined in: src/layout/page-doc.ts:191
originX
Section titled “originX”
readonlyoriginX:Pt
Defined in: src/layout/page-doc.ts:192
structId?
Section titled “structId?”
readonlyoptionalstructId?:number
Defined in: src/layout/page-doc.ts:179
Tagged PDF (§14.8): the logical structure node this item’s content belongs to. Set only on body content in tagged mode; undefined text in the line pass is treated as an artifact. Ignored when not tagging.
Inherited from
Section titled “Inherited from”
readonlytype:"line"
Defined in: src/layout/page-doc.ts:190