Skip to main content

Interface: ParsedPdfStructureElement

Tagged structure element discovered while parsing an existing PDF.

Properties

PropertyModifierTypeDescription
actualText?readonlystringReplacement text exposed to assistive technology.
altText?readonlystringAlternate text for tagged non-text content.
children?readonlyreadonly ParsedPdfStructureElement[]Nested child list items or structure elements.
language?readonlystringBCP 47 language tag for document or structure content.
mcid?readonlynumberFirst marked-content id associated with the structure element.
mcids?readonlyreadonly number[]Marked-content ids associated with the structure element.
pageObjectId?readonlynumberObject id of the page associated with this item.
rolereadonlystringStructure role used to tag this content.