SetTextMatrix

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

NameTypeAccessDescription
AdoubleReadGets the a value of the text matrix (horizontal scaling).
BdoubleReadGets the b value of the text matrix (rotation and skew).
CdoubleReadGets the c value of the text matrix (rotation and skew).
DdoubleReadGets the d value of the text matrix (vertical scaling).
EdoubleReadGets the e value of the text matrix (horizontal position of the text origin).
FdoubleReadGets the f value of the text matrix (vertical position of the text origin).
MatrixAspose.Pdf.MatrixRead/WriteThe transform as a Matrix.
TextPropertiesAspose.Pdf.Facades.TextProperties?ReadOptional appearance metadata.
CommandNamestringReadThe PDF command name (last token of the serialised form, e.g.
IndexintRead/Write1-based position of this operator within its containing OperatorCollection.

Methods

SignatureDescription
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.

See Also

 English