Table of Contents

Class PdfStructIdTree

Namespace
iText.Kernel.Pdf.Tagging
Assembly
itext.kernel.dll

Models the tree of structure element IDs.

public class PdfStructIdTree : GenericNameTree, IPdfNameTreeAccess
Inheritance
PdfStructIdTree
Implements
Inherited Members

Remarks

Models the tree of structure element IDs. This is an optional feature of tagged PDF documents.

Methods

AddEntry(PdfString, PdfObject)

public override void AddEntry(PdfString key, PdfObject value)

Parameters

key PdfString
value PdfObject

GetStructElemById(byte[])

Retrieve a structure element by ID, if it has one.

public virtual PdfStructElem GetStructElemById(byte[] id)

Parameters

id byte[]

the ID of the structure element to retrieve

Returns

PdfStructElem

the structure element with the given ID if one exists, or null otherwise.

GetStructElemById(PdfString)

Retrieve a structure element by ID, if it has one.

public virtual PdfStructElem GetStructElemById(PdfString id)

Parameters

id PdfString

the ID of the structure element to retrieve

Returns

PdfStructElem

the structure element with the given ID if one exists, or null otherwise.