Table of Contents

Class PdfStructureTree

Namespace
MiPdf.Tagging
Assembly
MiPdf.dll

The structure tree of a tagged PDF (/StructTreeRoot): the logical structure (headings, paragraphs, tables, figures) that screen readers and reflow use. Obtain it with EnableTagging().

public sealed class PdfStructureTree
Inheritance
PdfStructureTree
Inherited Members

Properties

Dictionary

The structure tree root dictionary.

public PdfDictionary Dictionary { get; }

Property Value

PdfDictionary

Root

The top-level "Document" element; add your content structure below it.

public PdfStructureElement Root { get; }

Property Value

PdfStructureElement

Methods

MapRole(string, string)

Maps a custom structure type to a standard type (/RoleMap), e.g. "Heading" โ†’ "H1".

public void MapRole(string customType, string standardType)

Parameters

customType string
standardType string