ITaggedContent
Overview
ITaggedContent is an interface in Aspose.PDF FOSS for .NET.
The author-facing surface for a tagged PDF document.
This interface declares 42 methods for ITaggedContent objects in .NET programs.
Available methods include: CreateAnnotElement, CreateArtElement, CreateBibEntryElement, CreateBlockQuoteElement, CreateCaptionElement, CreateCodeElement, CreateDivElement, CreateFigureElement, CreateFormElement, CreateFormulaElement, CreateHeaderElement, CreateIndexElement, and 29 additional methods.
Public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package.
Properties: RootElement, StructTreeRootElement, StructureTextState.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
RootElement | LS.StructureElement | Read | The first top-level structure element under StructTreeRootElement (typically the auto-generated Document element). |
StructTreeRootElement | LS.StructTreeRootElement | Read | The /StructTreeRoot wrapper hosting the document’s structure tree. |
StructureTextState | LS.StructureTextState | Read | Default text-state used by inline structure elements that don’t specify their own. |
Methods
| Signature | Description |
|---|---|
CreateAnnotElement() | Calls CreateAnnotElement on this ITaggedContent instance. |
CreateArtElement() | Calls CreateArtElement on this ITaggedContent instance. |
CreateBibEntryElement() | Calls CreateBibEntryElement on this ITaggedContent instance. |
CreateBlockQuoteElement() | Calls CreateBlockQuoteElement on this ITaggedContent instance. |
CreateCaptionElement() | Calls CreateCaptionElement on this ITaggedContent instance. |
CreateCodeElement() | Calls CreateCodeElement on this ITaggedContent instance. |
CreateDivElement() | Calls CreateDivElement on this ITaggedContent instance. |
CreateFigureElement() | Creates a figure element (/Figure). |
CreateFormElement() | Creates a form element (/Form). |
CreateFormulaElement() | Calls CreateFormulaElement on this ITaggedContent instance. |
CreateHeaderElement() | Creates a heading element without a level (/H). |
CreateHeaderElement(level: int) | Creates a heading element of the given level (/H1, /H2 …); a level of 0 or less gives /H. |
CreateIndexElement() | Calls CreateIndexElement on this ITaggedContent instance. |
CreateLinkElement() | Creates a link element (/Link). |
CreateListElement() | Creates a list element (/L). |
CreateListLBodyElement() | Calls CreateListLBodyElement on this ITaggedContent instance. |
CreateListLIElement() | Creates a list-item element (/LI). |
CreateListLblElement() | Calls CreateListLblElement on this ITaggedContent instance. |
CreateNonStructElement() | Calls CreateNonStructElement on this ITaggedContent instance. |
CreateNoteElement() | Creates a note element (/Note). |
CreateParagraphElement() | Creates a paragraph element (/P). |
CreatePartElement() | Calls CreatePartElement on this ITaggedContent instance. |
CreatePrivateElement() | Calls CreatePrivateElement on this ITaggedContent instance. |
CreateQuoteElement() | Creates an inline quotation element (/Quote). |
CreateReferenceElement() | Calls CreateReferenceElement on this ITaggedContent instance. |
CreateRubyElement() | Calls CreateRubyElement on this ITaggedContent instance. |
CreateSectElement() | Creates a section element (/Sect). |
CreateSpanElement() | Creates a span element (/Span). |
CreateTOCElement() | Creates a table-of-contents element (/TOC). |
CreateTOCIElement() | Creates a table-of-contents item element (/TOCI). |
CreateTableElement() | Creates a table element (/Table). |
CreateTableTBodyElement() | Calls CreateTableTBodyElement on this ITaggedContent instance. |
CreateTableTDElement() | Calls CreateTableTDElement on this ITaggedContent instance. |
CreateTableTFootElement() | Calls CreateTableTFootElement on this ITaggedContent instance. |
CreateTableTHElement() | Calls CreateTableTHElement on this ITaggedContent instance. |
CreateTableTHeadElement() | Calls CreateTableTHeadElement on this ITaggedContent instance. |
CreateTableTRElement() | Calls CreateTableTRElement on this ITaggedContent instance. |
CreateWarichuElement() | Calls CreateWarichuElement on this ITaggedContent instance. |
PreSave() | Prepare the in-memory tree for serialisation. |
Save() | Flush the in-memory tree to the document’s StructTreeRoot dictionary so the next file save embeds the updated structure. |
SetLanguage(lang: string) | Set the document language (BCP-47 tag, e.g. |
SetTitle(title: string) | Set the document title in the /Info dictionary. |