Skip to content

StructureElement

@scaryterry/pdfium


Defined in: src/core/types.ts:684

A structure element in a tagged PDF’s structure tree.

readonly optional altText: string

Defined in: src/core/types.ts:690

Alternative text for accessibility, if present.


readonly children: readonly StructureElement[]

Defined in: src/core/types.ts:694

Child structure elements.


readonly optional lang: string

Defined in: src/core/types.ts:692

The language attribute (e.g., “en-US”), if present.


readonly optional title: string

Defined in: src/core/types.ts:688

The title attribute, if present.


readonly type: string

Defined in: src/core/types.ts:686

The element type (e.g., “P”, “H1”, “Table”, “Figure”).