PdfPathOperationAction Property |
Namespace: Atalasoft.PdfDoc.Generating.Rendering
// print out every operation in a list of PdfPathOperations foreach (PdfPathOperation op in ops) { string output = ""; switch (op.Action) { case PathAction.Move: output = String.Format("Move({0})", op.Points[0]); break; case PathAction.Line: output = String.Format("Line({0})", op.Points[0]); break; case PathAction.Curve: output = String.Format("Curve({0}, {1}, {2})", op.Points[0], op.Points[1], op.Points[2]); break; case PathAction.Close: output = "Close"; break; } Console.WriteLine(output); }