## TextRun class

La clase que representa un fragmento de texto con estilo asociado.

```csharp
public class TextRun
```

## Constructores

| Nombre | Descripción |
| --- | --- |
| [TextRun](textrun/#constructor)() | Inicializa una nueva instancia del`TextRun` clase con texto vacío y estilo predeterminado. |
| [TextRun](textrun/#constructor_2)(string) | Inicializa una nueva instancia del`TextRun` clase con estilo por defecto. |
| [TextRun](textrun/#constructor_1)(TextStyle) | Inicializa una nueva instancia del`TextRun`clase con texto vacío. |
| [TextRun](textrun/#constructor_3)(string, TextStyle) | Inicializa una nueva instancia del`TextRun` clase. |

## Propiedades

| Nombre | Descripción |
| --- | --- |
| [Length](../../aspose.note/textrun/length/) { get; } | Obtiene la longitud del texto asociado. |
| [Style](../../aspose.note/textrun/style/) { get; set; } | Obtiene o establece el estilo. |
| [Text](../../aspose.note/textrun/text/) { get; set; } | Obtiene o establece el texto. |

### Ver también

* espacio de nombres [Aspose.Note](../../aspose.note/)
* asamblea [Aspose.Note](../../)


