Class TaggedContent
Tagged PDF structure tree model used to build /StructTreeRoot and /StructElem entries.
Inherited Members
Namespace: DRIT.Pdf.Tagged
Assembly: DRIT.Pdf.dll
Syntax
public sealed class TaggedContent
Properties
Count
Number of top-level structure elements.
Declaration
public int Count { get; }
Property Value
| Type | Description |
|---|---|
| int |
Elements
Top-level structure elements under /StructTreeRoot.
Declaration
public IReadOnlyList<StructureElement> Elements { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<StructureElement> |
this[int]
Gets a top-level structure element by zero-based index.
Declaration
public StructureElement this[int index] { get; }
Parameters
| Type | Name | Description |
|---|---|---|
| int | index |
Property Value
| Type | Description |
|---|---|
| StructureElement |
Methods
AddElement(string)
Add a new top-level structure element.
Declaration
public StructureElement AddElement(string structureType)
Parameters
| Type | Name | Description |
|---|---|---|
| string | structureType |
Returns
| Type | Description |
|---|---|
| StructureElement |
Clear()
Remove all top-level structure elements.
Declaration
public void Clear()