StructElement

StructElement

Overview

StructElement is a type in Aspose.PDF FOSS for Go.

StructElement is a node in the logical structure tree.

This type provides 4 methods for working with StructElement objects in Go programs. Available methods include: AddChild, SetActualText, SetAlt, SetLanguage. All public members are accessible to any Go application after installing the Aspose.PDF FOSS for Go package.

Methods

SignatureDescription
AddChild(t: StructType)*StructElementAddChild creates a grouping structure element of type t as a child of e and returns it.
SetAlt(text: string)SetAlt sets alternate text (/Alt) — required on Figure/Formula for PDF/UA.
SetActualText(text: string)SetActualText sets the exact text (/ActualText) the element represents.
SetLanguage(lang: string)SetLanguage overrides the natural language for this element’s content.

See Also

 English