Click or drag to resize

PdfDrawingSurfaceApplyTransformation Method

Applies the transform to the drawing surface. The transform will be accumulated onto any existing transformation. Previous transforms can be saved and restored via the GSave and GRestore methods in PdfPageRenderer.

Namespace:  Atalasoft.PdfDoc.Generating.Rendering
Assembly:  Atalasoft.PdfDoc (in Atalasoft.PdfDoc.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public abstract void ApplyTransformation(
	PdfTransform transform
)

Parameters

transform
Type: Atalasoft.PdfDoc.GeometryPdfTransform
The transform to apply.
Examples
writer.GSave();
drawingSurface.ApplyTransformation(PdfTransform.Scale(2, 5)); // non-uniform scale
PlaceScaledShapes();
writer.GRestore();
See Also