## StructureElement class


Represents a base class for structure elements in logical structure.

```cpp
class StructureElement : public Aspose::Pdf::LogicalStructure::Element
```

## Methods

| Method | Description |
| --- | --- |
| [ChangeParentElement](./changeparentelement/)(const System::SharedPtr\<StructureElement\>\&, bool) | Change parent element for current structure element. |
| [ClearId](./clearid/)() | Clear ID for structure element. |
| [GenerateId](./generateid/)() | Generate ID for structure element. |
| [get_ActualText](./get_actualtext/)() | Gets the actual text for structure element. |
| [get_AlternativeText](./get_alternativetext/)() | Gets the alternative text for structure element. |
| [get_Attributes](./get_attributes/)() const | Gets [T:/Aspose::Pdf::LogicalStructure::StructureAttributeCollection](../) object. |
| [get_DefaultAttributeOwner](./get_defaultattributeowner/)() const | Gets [T:/Aspose::Pdf::LogicalStructure::AttributeOwnerStandard](../) object. |
| [get_ExpansionText](./get_expansiontext/)() | Gets the expansion text for structure element. |
| [get_ID](./get_id/)() | Gets the ID for structure element. |
| [get_Language](./get_language/)() | Gets the language for structure element. |
| [get_Page](./get_page/)() | Gets the page on which some or all child elements will be rendered. |
| [get_StructureType](./get_structuretype/)() const | Gets type of structure element. |
| [get_Title](./get_title/)() | Gets the title for structure element. |
| [Remove](./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](./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. |
| [set_ActualText](./set_actualtext/)(const System::String\&) | Sets the actual text for structure element. |
| [set_AlternativeText](./set_alternativetext/)(const System::String\&) | Sets the alternative text for structure element. |
| [set_ExpansionText](./set_expansiontext/)(const System::String\&) | Sets the expansion text for structure element. |
| [set_Language](./set_language/)(const System::String\&) | Sets the language for structure element. |
| [set_Title](./set_title/)(const System::String\&) | Sets the title for structure element. |
| [SetId](./setid/)(const System::String\&) | Sets ID for structure element. |
| [SetTag](./settag/)(const System::String\&) | Sets custom tag for structure element. |
| [Tag](./tag/)(const System::SharedPtr\<Operators::BDC\>\&) override | Bind a structure element to the content stream BDC operator. |
| [Tag](./tag/)(const System::SharedPtr\<XForm\>\&) override | Bind a structure element to the content stream [XForm](../../aspose.pdf/xform/). |
| [Tag](./tag/)(const System::SharedPtr\<XImage\>\&) override | Bind a structure element to the [XImage](../../aspose.pdf/ximage/). |
| [Tag](./tag/)(const System::SharedPtr\<Artifact\>\&) override | Bind a structure element to the [Artifact](../../aspose.pdf/artifact/). |
| [Tag](./tag/)(const System::SharedPtr\<Annotations::Annotation\>\&) override | Bind a structure element to the Annotation. |
| [ToString](./tostring/)() const override | Returns a string that represents the current object. |
## See Also

* Class [Element](../element/)
* Namespace [Aspose::Pdf::LogicalStructure](../)
* Library [Aspose.PDF for C++](../../)
