Click or drag to resize

PdfPathOperationClose Method

Constructs a new Close PdfPathOperation, representing a closed sub path.

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 static PdfPathOperation Close()

Return Value

Type: PdfPathOperation
A new PdfPathOperation with Action set to Close. The Points property will be empty.
Examples
List<PdfPathOperation> triangle = new List<PdfPathOperation>();
triangle.Add(PdfPathOperation.MoveTo(0, 0));
triangle.Add(PdfPathOperation.LineTo(20, 50));
triangle.Add(PdfPathOperation.LineTo(40, 0));
triangle.Add(PdfPathOpertaion.Close());
See Also