TaggedContent
Overview
TaggedContent is a type in Aspose.PDF FOSS for Go.
TaggedContent is the facade for authoring a Tagged PDF (ISO 32000-1 §14.8): it owns the document’s logical structure tree and sets the catalog marks PDF/UA requires.
This type provides 3 methods for working with TaggedContent objects in Go programs.
Available methods include: Root, SetLanguage, SetTitle.
All public members are accessible to any Go application after installing the Aspose.PDF FOSS for Go package.
Methods
| Signature | Description |
|---|---|
Root() → *StructElement | Root returns the document-level (/Document) structure element — the default parent for top-level content. |
SetTitle(title: string) | SetTitle sets the document title (so PDF/UA’s title requirement is met). |
SetLanguage(lang: string) | SetLanguage sets the document’s default natural language (/Catalog/Lang), e.g. |