AddLineAnnotation(PathPoint, PathPoint, PdfAnnotationOptions?) Method

Definition

Namespace Broadside
Assembly Broadside.dll

Adds a line annotation from start to end; its rectangle is fitted to the line.

public PdfLineAnnotation AddLineAnnotation(PathPoint start, PathPoint end, PdfAnnotationOptions? options = null)

Parameters

start
PathPoint

The start point in default user space.

end
PathPoint

The end point.

options
PdfAnnotationOptions

Colour, width, flags and markup texts; null for a one-point red line.

Returns

PdfLineAnnotation
The annotation.

Remarks

ISO 32000-2 §12.5.6.7, Table 178 (L, PDF 1.3). Line endings are not drawn.