ITaggedContent

ITaggedContent

Overview

ITaggedContent is a interface in Aspose.PDF FOSS for .NET.

The author-facing surface for a tagged PDF document.

This interface provides 42 methods for working with ITaggedContent objects in .NET programs. Available methods include: CreateAnnotElement, CreateArtElement, CreateBibEntryElement, CreateBlockQuoteElement, CreateCaptionElement, CreateCodeElement, CreateDivElement, CreateFigureElement, CreateFormElement, CreateFormulaElement, CreateHeaderElement, CreateIndexElement, and 29 additional methods. All public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package. Properties: RootElement, StructTreeRootElement, StructureTextState.

Properties

NameTypeAccessDescription
RootElementLS.StructureElementReadThe first top-level structure element under StructTreeRootElement (typically the auto-generated Document element).
StructTreeRootElementLS.StructTreeRootElementReadThe /StructTreeRoot wrapper hosting the document’s structure tree.
StructureTextStateLS.StructureTextStateReadDefault text-state used by inline structure elements that don’t specify their own.

Methods

SignatureDescription
CreateAnnotElement()Create a TaggedContent instance. Returns null if the document is not tagged.
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()Calls CreateFigureElement on this ITaggedContent instance.
CreateFormElement()Create a TaggedContent instance for a new (potentially untagged) document.
CreateFormulaElement()Create a TaggedContent instance for a new (potentially untagged) document. Ensures the document has MarkInfo and StructTreeRoot.
CreateHeaderElement()Create a TaggedContent instance for a new (potentially untagged) document. Ensures the document has MarkInfo and StructTreeRoot. Creates an in-memory root element that does not depend on the PDF reader.
CreateHeaderElement(level: int)Calls CreateHeaderElement on this ITaggedContent instance.
CreateIndexElement()Calls CreateIndexElement on this ITaggedContent instance.
CreateLinkElement()Calls CreateLinkElement on this ITaggedContent instance.
CreateListElement()Calls CreateListElement on this ITaggedContent instance.
CreateListLBodyElement()Calls CreateListLBodyElement on this ITaggedContent instance.
CreateListLIElement()Calls CreateListLIElement on this ITaggedContent instance.
CreateListLblElement()Calls CreateListLblElement on this ITaggedContent instance.
CreateNonStructElement()Calls CreateNonStructElement on this ITaggedContent instance.
CreateNoteElement()Calls CreateNoteElement on this ITaggedContent instance.
CreateParagraphElement()Calls CreateParagraphElement on this ITaggedContent instance.
CreatePartElement()Calls CreatePartElement on this ITaggedContent instance.
CreatePrivateElement()Calls CreatePrivateElement on this ITaggedContent instance.
CreateQuoteElement()Calls CreateQuoteElement on this ITaggedContent instance.
CreateReferenceElement()Calls CreateReferenceElement on this ITaggedContent instance.
CreateRubyElement()Calls CreateRubyElement on this ITaggedContent instance.
CreateSectElement()Calls CreateSectElement on this ITaggedContent instance.
CreateSpanElement()Calls CreateSpanElement on this ITaggedContent instance.
CreateTOCElement()Calls CreateTOCElement on this ITaggedContent instance.
CreateTOCIElement()Calls CreateTOCIElement on this ITaggedContent instance.
CreateTableElement()Calls CreateTableElement on this ITaggedContent instance.
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()The document title (from the Info dictionary).
CreateWarichuElement()The document title (from the Info dictionary).
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.

See Also