---
Product: Aspose.PDF
Platform: net
Page Type: reference
Canonical URL: https://reference.aspose.org/pdf/net/StructureElementBuilder
---

# StructureElementBuilder

## Overview

`StructureElementBuilder` is a class in Aspose.PDF FOSS for .NET.

Builder for creating a structure element with children and marked content.

This class provides 6 methods for working with StructureElementBuilder objects in .NET programs.
Available methods include: `AddMarkedContent`, `CreateChild`, `SetActualText`, `SetAltText`, `SetLanguage`, `SetTitle`.
All public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package.
Properties: `StructureType`.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `StructureType` | `string` | Read | The structure type (e.g. |

## Methods

| Signature | Description |
|-----------|-------------|
| `SetTitle(title: string)` | Set the title for this element. |
| `SetLanguage(lang: string)` | Set the language for this element (BCP 47 tag). |
| `SetAltText(alt: string)` | Set the alternate description for accessibility. |
| `SetActualText(text: string)` | Set the actual text replacement. |
| `CreateChild(structureType: string)` | Create a child structure element. |
| `AddMarkedContent(page: Page)` | Associate marked content on a page with this structure element. |

## See Also

- [Aspose.PDF for .NET — Enterprise API Reference](https://reference.aspose.com/pdf/net/)