StructElement Class Documentation
classStructElement : SystemIDisposableNamespace:Datalogics::PDFL
- Inherits from:
SystemIDisposable
Detailed Description
Internal wrapper for a single node in the PDF logical structure tree.
Owns a non-owning reference to its CDocument. Exposes type (/S) access, the backing dict (for arbitrary attribute reads/writes), child creation, and marked-content reference insertion.
Referenced by
Uses types
Constructor & Destructor Documentation
StructElement
StructElement(StructElementrhs, InternalConstructsignifier)Parameters
rhs: StructElementsignifier: InternalConstruct
~StructElement
~StructElement()Property Documentation
Document
DocumentDocument[get]KidCount
intKidCount[get]PDFDict
PDFDictPDFDict[get]Type
stringType[get]Member Function Documentation
AddChild
StructElementAddChild(stringstructType)Parameters
structType: string
Returns:
StructElementAddMarkedContentRef
Parameters
Returns:
voidInsert a marked-content reference using the given Container. /StructParents on the page and the parent tree are wired automatically.
ConstructorRetrieve
static StructElementConstructorRetrieve(System.IntPtrignored)Parameters
ignored: System.IntPtr
Returns:
StructElementDispose
voidDispose()Returns:
voidDisposeChildren
voidDisposeChildren()Returns:
voidParentIsTreeRoot
boolParentIsTreeRoot()Returns:
boolTrue when this element's immediate parent is the struct tree root. Avoids allocating a CStructElement wrapper just to discard it.