AddFreeTextAnnotation(PdfRectangle, String, PdfAnnotationOptions?) Method

Definition

Namespace Broadside
Assembly Broadside.dll

Adds a free text annotation: text drawn on the page, wrapped inside rect.

public PdfFreeTextAnnotation AddFreeTextAnnotation(PdfRectangle rect, string text, PdfAnnotationOptions? options = null)

Parameters

rect
PdfRectangle

The text box in default user space.

text
String

The text (Contents); line breaks start new lines.

options
PdfAnnotationOptions

Font size, text colour, a border colour, flags and markup texts; null for black 12-point text without a border.

Returns

PdfFreeTextAnnotation
The annotation.

Remarks

ISO 32000-2 §12.5.6.6, Table 177 (DA naming /Helv, PDF 1.3).