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

# ITextElement

## Overview

`ITextElement` is a interface in Aspose.PDF FOSS for .NET.

A structure element that can carry inline text content (written to the element's /ActualText entry).

This interface provides 1 method for working with ITextElement objects in .NET programs.
Available methods include: `SetText`.
All public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package.

## Methods

| Signature | Description |
|-----------|-------------|
| `SetText(text: string)` | Set the element's text content. |

## See Also

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