Click or drag to resize

PdfPathOperationPoints Property

Gets the points associated with this path operation. For Move and Line operations, this list will contain one PdfPoint. For Curve operations, the list will contain exactly three points. For Close operations, this list will be empty. Changing the number of points in an existing PdfPathOperation object will cause unpredictable results.

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 IList<PdfPoint> Points { get; }

Property Value

Type: IListPdfPoint
Examples
// find the minimum X in a list of path operations
double minx = Double.MaxValue;
foreach (PdfPathOperation op in Ops) {
    foreach (PdfPoint point in op.Points) {
        if (point.X < minx)
           minx = point.X;
    }
}
See Also