Click or drag to resize

PdfDrawingSurfaceAddPath Method (IEnumerablePdfPathOperation, PdfTransform)

First applies a transform then adds a set of path operations to the current path. Path should start with a Move operation. The transform remains in place after the addition.

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 AddPath(
	IEnumerable<PdfPathOperation> path,
	PdfTransform transform
)

Parameters

path
Type: System.Collections.GenericIEnumerablePdfPathOperation
The path to add.
transform
Type: Atalasoft.PdfDoc.GeometryPdfTransform
The transform to apply.
Examples
drawingSurface.AddPath(myPath, PdfTransform.Scale(10)); // scale up by 10 uniformly in both axes
See Also