Click or drag to resize

ElementSetTextMatrix Method (Double, Double, Double, Double, Double, Double)

Sets the text matrix for a text element. This method accepts text transformation matrix components directly. A transformation matrix in PDF is specified by six numbers, usually in the form of an Array containing six elements. In its most general form, this Array is denoted [a b c d h v]; it can represent any linear transformation from one coordinate system to another. For more information about PDF matrices please refer to section 4.2.2 'Common Transformations' in PDF Reference Manual, and to documentation for Matrix2D class.

Namespace:  pdftron.PDF
Assembly:  pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax
public void SetTextMatrix(
	double a,
	double b,
	double c,
	double d,
	double h,
	double v
)

Parameters

a
Type: SystemDouble
- horizontal 'scaling' component of the new text matrix.
b
Type: SystemDouble
- 'rotation' component of the new text matrix.
c
Type: SystemDouble
- 'rotation' component of the new text matrix.
d
Type: SystemDouble
- vertical 'scaling' component of the new text matrix.
h
Type: SystemDouble
- horizontal translation component of the new text matrix.
v
Type: SystemDouble
- vertical translation component of the new text matrix.
See Also