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

# TextProperties

## Overview

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

Text-display properties consumed by the *TextOperator family.

This class provides 1 method for working with TextProperties objects in .NET programs.
Available methods include: `TextProperties`.
All public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package.
Properties: `Color`, `IsColorSpecified`, `IsTextSizeSpecified`, `TextSize`.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `Color` | `System.Drawing.Color` | Read/Write | Text colour. |
| `IsColorSpecified` | `bool` | Read | Whether Color has been explicitly set. |
| `TextSize` | `double` | Read/Write | Text size in points. |
| `IsTextSizeSpecified` | `bool` | Read | Whether TextSize has been explicitly set. |

## Methods

| Signature | Description |
|-----------|-------------|
| `TextProperties(textSize: double)` | Calls TextProperties on this TextProperties instance. |

## See Also

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