SetTextMatrix
Overview
SetTextMatrix is a class in Aspose.PDF FOSS for .NET.
Inherits from: TextPlaceOperator.
Tm — Set text matrix.
This class declares 11 methods for SetTextMatrix objects in .NET programs.
Available methods include: Accept, IsTextShowOperator, SetTextMatrix, TextOperator, TextPlaceOperator, ToPdf, ToString, ValueEquals.
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 value of the text matrix (horizontal scaling). |
B | double | Read | Gets the b value of the text matrix (rotation and skew). |
C | double | Read | Gets the c value of the text matrix (rotation and skew). |
D | double | Read | Gets the d value of the text matrix (vertical scaling). |
E | double | Read | Gets the e value of the text matrix (horizontal position of the text origin). |
F | double | Read | Gets the f value of the text matrix (vertical position of the text origin). |
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) | Creates a Tm operator that sets the text matrix and text line matrix to [a b c d e f]; e and f give the text origin. |
SetTextMatrix(m: Aspose.Pdf.Matrix) | Creates a Tm operator that sets the text matrix and text line matrix to the six values of the given matrix. |
ToPdf() | Calls ToPdf on this SetTextMatrix instance. |
ToString() | Calls ToString on this SetTextMatrix instance. |
Accept(visitor: IOperatorSelector) | Calls Accept(visitor) on this SetTextMatrix instance. |
TextPlaceOperator() | Calls TextPlaceOperator on this SetTextMatrix instance. |
TextPlaceOperator(textProperties: Aspose.Pdf.Facades.TextProperties) | Calls TextPlaceOperator(textProperties) on this SetTextMatrix instance. |
TextOperator() | Calls TextOperator on this SetTextMatrix instance. |
TextOperator(textProperties: Aspose.Pdf.Facades.TextProperties) | Calls TextOperator(textProperties) 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. |