Click or drag to resize

PdfPathOperationLineTo Method (Double, Double)

Constructs a new Line PdfPathOperation to the specified x and y coordinates.

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 LineTo(
	double x,
	double y
)

Parameters

x
Type: SystemDouble
The x coordinate of the point.
y
Type: SystemDouble
The y coordinate of the point.

Return Value

Type: PdfPathOperation
A new PdfPathOperation with Action set to Line and one PdfPoint in the Points property.
Examples
PdfPathOperation line = PdfPathOperation.MoveTo(endX, endY);
See Also