Aspose::Pdf::LogicalStructure::ListLIElement::AddRef method

ListLIElement::AddRef method

Adds a reference to the specified StructureElement within this Table of Contents Item (TOCI) element. This is typically used when ListLIElement serves as a TOC header in nested tables of contents.

void Aspose::Pdf::LogicalStructure::ListLIElement::AddRef(const System::SharedPtr<StructureElement> &referencedStructureElement)
ParameterTypeDescription
referencedStructureElementconst System::SharedPtr<StructureElement>&The StructureElement to be referenced by this TOCI element.

Remarks

Associating a structure element, such as a header or another content section, with a TOCI element ensures correct logical structure and improves navigational behavior in tagged PDFs.

See Also