StructureElementBuilder

StructureElementBuilder

Overview

StructureElementBuilder is a class in Aspose.PDF FOSS for .NET.

Builder for creating a structure element with children and marked content.

This class provides 6 methods for working with StructureElementBuilder objects in .NET programs. Available methods include: AddMarkedContent, CreateChild, SetActualText, SetAltText, SetLanguage, SetTitle. All public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package. Properties: StructureType.

Properties

NameTypeAccessDescription
StructureTypestringReadThe structure type (e.g.

Methods

SignatureDescription
SetTitle(title: string)Set the title for this element.
SetLanguage(lang: string)Set the language for this element (BCP 47 tag).
SetAltText(alt: string)Set the alternate description for accessibility.
SetActualText(text: string)Set the actual text replacement.
CreateChild(structureType: string)Create a child structure element.
AddMarkedContent(page: Page)Associate marked content on a page with this structure element.

See Also