PdfStructureElement Class

Definition

A structure element: one node of a document's structure tree, a live view over its structure element dictionary.

public sealed class PdfStructureElement : PdfStructureItem, IEquatable<PdfStructureElement>

Remarks

ISO 32000-2 §14.7.2, Table 355. Every property reads the dictionary when called; Children enumerates K on each call. Two views of the same dictionary are equal.

The tree's shape comes from K, read downward from the root: Parent is the element whose K holds this one, not what this element's P entry says. A P that disagrees is a StructElemParentMismatch diagnostic. A child that is the element itself or one of its ancestors (a cycle) is left out of Children with a StructTreeCycle diagnostic, and the hierarchy is cut below 256 levels (StructTreeDepthExceeded), so a recursive walk over Children always ends.

Tip: use kind:method, kind:property, kind:ctor. Press Esc to clear.

Properties (24)

Methods (18)