Method Transform

Namespace
SoftZenPdf
Assembly
SoftZenPdf.dll

Transform(double, double, double, double, double, double)

Multiplies the current transformation matrix by [a b c d e f], changing how later coordinates map onto the page. Operator cm. Wrap it in SaveState()/RestoreState() to limit its effect.

public ContentStreamWriter Transform(double a, double b, double c, double d, double e, double f)

Parameters

a double

Horizontal scale (combined with b and c for rotation).

b double

Rotation and skew term.

c double

Rotation and skew term.

d double

Vertical scale.

e double

Horizontal translation, in points.

f double

Vertical translation, in points.

Returns

ContentStreamWriter

Examples

Rotate by θ around the origin: Transform(cos θ, sin θ, -sin θ, cos θ, 0, 0).

Exceptions

InvalidOperationException

Called inside a text object.