[]
Represents a PDF tag (structure element) in a document's structure tree.
public class StructElement : StructTreeItem, IOwnedObject, IPdfDict
Initializes a new instance of the StructElement class.
public StructElement()
Initializes a new instance of the StructElement class.
public StructElement(string type)
type
stringThe element's type.
Gets or sets a text that is an exact replacement for the structure element and its children. This replacement text (which should apply to as small a piece of content as possible) is useful when extracting a document’s content in support of accessibility to users with disabilities or for other purposes.
public string ActualText { get; set; }
Gets or sets the alternate description of the structure element and its children in human-readable form, which is useful when extracting a document’s content in support of accessibility to users with disabilities or for other purposes.
public string AlternateDescription { get; set; }
Gets the list of embedded files associated with this StructElement.
public AssociatedFiles AssociatedFiles { get; }
Gets the collection of attribute classes associated with this element.
public AttrClsRevisionCollection AttrClasses { get; }
Gets the collection of attributes associated with this structure element.
public AttrRevisionCollection Attrs { get; }
Gets the collection of child StructElement object.
This collection is a wrapper around the Items collection that iterates only over its elements of the type StructElement.
public StructElementCollection Children { get; }
Gets the collection of ContentItemLink objects.
This collection is a wrapper around the Items collection that iterates only over its elements of the type ContentItemLink.
public ContentItemLinkCollection ContentItems { get; }
Gets or sets a Page object used as the default page for the content items owned by this StructElement.
public Page DefaultPage { get; set; }
Gets or sets the expanded form of an abbreviation.
public string ExpandedAbbreviation { get; set; }
Gets a value indicating whether the AttrClasses collection contains any items.
public bool HasAttrClasses { get; }
Gets a value indicating whether Attrs collection contains any items.
public bool HasAttrs { get; }
Gets a value indicating whether the Children collection contains any items.
public bool HasChildren { get; }
Gets a value indicating whether the ContentItems collection contains any items.
public bool HasContentItems { get; }
Gets a value indicating whether the Items collection contains any items.
public bool HasItems { get; }
Gets or sets the element identifier, a byte array designating this structure element. The value must be unique among all elements in the document’s structure hierarchy.
public IPdfString ID { get; set; }
Gets the collection of nested StructTreeItem objects.
public StructTreeItemCollection Items { get; }
Gets the parent StructElement object.
public StructElement Parent { get; }
Gets the underlying GrapeCity.Documents.Pdf.Spec.IPdfObject.
public override IPdfObject PdfObject { get; }
Gets or sets the current revision number of this structure element.
public int Revision { get; set; }
Gets or sets the title of the structure element, which is a text string representing it in human-readable form. The title should characterize the specific structure element, such as Chapter 1, rather than merely a generic element type, such as Chapter.
public string Title { get; set; }
Gets or sets the structure type, which is a string identifying the nature of the structure element and its role within the document, such as chapter, paragraph, or footnote.
public string Type { get; set; }