Element
Overview
Element is a class in Aspose.PDF FOSS for .NET.
A node in a PDF’s logical-structure tree (the /StructTreeRoot /K subtree, plus their /K descendants).
This class provides 1 method for working with Element objects in .NET programs.
Available methods include: Remove.
All public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package.
Properties: ActualText, Alt, Children, E, Lang, Parent.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
ActualText | string | Read/Write | The actual text content of this structure element (/ActualText entry). |
Alt | string | Read/Write | The alternate-text description (/Alt entry), used by assistive technology to read the element aloud. |
E | string | Read/Write | The expansion text for an abbreviation (/E entry). |
Lang | string | Read/Write | The natural-language code for the element’s text content (/Lang entry, e.g. |
Children | ElementCollection | Read | Child structure elements held under this element’s /K entry. |
Parent | Element? | Read | The element this one was attached to, or null when it is a root element. |
Methods
| Signature | Description |
|---|---|
Remove() | Detach this element from its parent (drop it from the parent’s /K array). |