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

# SetTextMatrix

## Overview

`SetTextMatrix` is a class in Aspose.PDF FOSS for .NET.
Inherits from: `TextPlaceOperator`.

Tm — Set text matrix.

This class provides 9 methods for working with SetTextMatrix objects in .NET programs.
Available methods include: `Accept`, `IsTextShowOperator`, `SetTextMatrix`, `TextOperator`, `TextPlaceOperator`, `ToPdf`, `ToString`, `ValueEquals`.
All public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package.
Properties: `A`, `B`, `C`, `CommandName`, `D`, `E`, and 4 more.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `A` | `double` | Read | Gets the a. |
| `B` | `double` | Read | Gets the b. |
| `C` | `double` | Read | Gets the c. |
| `D` | `double` | Read | Gets the d. |
| `E` | `double` | Read | Gets the e. |
| `F` | `double` | Read | Gets the f. |
| `Matrix` | `Aspose.Pdf.Matrix` | Read/Write | The transform as a Matrix. |
| `TextProperties` | `Aspose.Pdf.Facades.TextProperties?` | Read | Optional appearance metadata. |
| `CommandName` | `string` | Read | The PDF command name (last token of the serialised form, e.g. |
| `Index` | `int` | Read/Write | 1-based position of this operator within its containing OperatorCollection. |

## Methods

| Signature | Description |
|-----------|-------------|
| `SetTextMatrix(a: double, b: double, c: double, d: double, e: double, f: double)` | Sets the text matrix value. |
| `SetTextMatrix(m: Aspose.Pdf.Matrix)` | Sets the text matrix value. |
| `ToPdf()` | Calls ToPdf on this SetTextMatrix instance. |
| `ToString()` | Calls ToString on this SetTextMatrix instance. |
| `Accept(visitor: IOperatorSelector)` | Calls Accept on this SetTextMatrix instance. |
| `TextPlaceOperator()` | Calls TextPlaceOperator on this SetTextMatrix instance. |
| `TextOperator()` | Calls TextOperator on this SetTextMatrix instance. |
| `IsTextShowOperator(op: Operator)` | True when op is a text-showing operator (Tj / TJ / ' / " — concrete subclasses of TextShowOperator). |
| `ValueEquals(op: Operator)` | True when this operator's serialised PDF form equals op's. |

## See Also

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