Skip to main content

Interface: PositionedTextRun

A single positioned text run produced by extraction.

Properties

PropertyModifierTypeDescription
fontName?readonlystringActive font resource name (e.g. "F1"); undefined when no font is set.
fontSizereadonlynumberActive font size at the time of emission.
mcid?readonlynumberMarked-content MCID covering this run, if any.
mcTag?readonlystringMarked-content tag (e.g. "P", "Span", "Artifact") covering this run, if any.
textreadonlystringDecoded Unicode text.
widthreadonlynumberWidth of the run in user-space points (sum of glyph advances).
xreadonlynumberOrigin x in user space (PDF points).
yreadonlynumberOrigin y in user space (PDF points).