AddHighlightAnnotation(IReadOnlyList, PdfAnnotationOptions?) Method

Definition

Namespace Broadside
Assembly Broadside.dll

Adds a highlight annotation over the text in quadrilaterals, filled in its colour under the Multiply blend mode.

public PdfHighlightAnnotation AddHighlightAnnotation(IReadOnlyList<PdfQuadrilateral> quadrilaterals, PdfAnnotationOptions? options = null)

Parameters

quadrilaterals
IReadOnlyList<PdfQuadrilateral>

One quadrilateral per run of text, its points top left, top right, bottom left, bottom right of the text.

options
PdfAnnotationOptions

Colour, flags and markup texts; null for yellow.

Returns

PdfHighlightAnnotation
The annotation.

Remarks

ISO 32000-2 §12.5.6.10, Table 182 (PDF 1.3).