Class StructureElement
Contents
[
Hide
]StructureElement class
Represents a base class for structure elements in logical structure.
public abstract class StructureElement : Element
Properties
Name | Description |
---|---|
ActualText { get; set; } | Gets or sets the actual text for structure element. |
AlternativeText { get; set; } | Gets or sets the alternative text for structure element. |
Attributes { get; } | Gets StructureAttributeCollection object. |
ChildElements { get; } | Gets children collection of Element objects. |
DefaultAttributeOwner { get; } | Gets AttributeOwnerStandard object. |
ExpansionText { get; set; } | Gets or sets the expansion text for structure element. |
ID { get; } | Gets the ID for structure element. |
Language { get; set; } | Gets or sets the language for structure element. |
Page { get; } | Gets the page on which some or all child elements will be rendered. |
ParentElement { get; } | Get parent element. |
StructureType { get; } | Gets type of structure element. |
Title { get; set; } | Gets or sets the title for structure element. |
Methods
Name | Description |
---|---|
AppendChild(Element, bool) | Append Element to collection of children. |
ChangeParentElement(StructureElement, bool) | Change parent element for current structure element |
ClearChilds() | Clear all childs. |
ClearId() | Clear ID for structure element. |
FindElements<T>(bool) | Find Elements of a given type |
GenerateId() | Generate ID for structure element. |
InsertChild(Element, int, bool) | Insert Element to collection of children at specified index. |
Remove() | Removes: an element from the structure, a reference to it from the parent object, references to it from child objects, the corresponding object from the document. |
RemoveAndMoveItsChildObjectsToItsParent(bool) | Removes an element from the structure, a reference to it from the parent object, references to it from child objects, and the corresponding object from the document. Inserts child objects of the removed object into its former parent child objects collection starting at the index of the removed object. |
RemoveChild(int) | Remove child at. |
SetId(string) | Sets ID for structure element. |
SetTag(string) | Sets custom tag for structure element. |
override Tag(Annotation) | Bind a structure element to the Annotation. |
override Tag(Artifact) | Bind a structure element to the Artifact. |
override Tag(BDC) | Bind a structure element to the content stream BDC operator. |
override Tag(XForm) | Bind a structure element to the content stream XForm. |
override Tag(XImage) | Bind a structure element to the XImage. |
override ToString() | Returns a string that represents the current object. |
See Also
- class Element
- namespace Aspose.Pdf.LogicalStructure
- assembly Aspose.PDF