Table of Contents

Method AddTextAnnotation

Namespace
BitMiracle.Docotic.Pdf
Assembly
BitMiracle.Docotic.Pdf.dll

AddTextAnnotation(PdfPoint, string)

Adds the new text annotation to the PdfPage.

public PdfTextAnnotation AddTextAnnotation(PdfPoint position, string title)

Parameters

position PdfPoint

The position of the upper-left corner of the text annotation.

title string

The title for the annotation.

Returns

PdfTextAnnotation

The newly created PdfTextAnnotation object.

AddTextAnnotation(PdfPoint, string, string)

Adds the new text annotation to the PdfPage.

public PdfTextAnnotation AddTextAnnotation(PdfPoint position, string title, string contents)

Parameters

position PdfPoint

The position of the upper-left corner of the text annotation.

title string

The title for the annotation.

contents string

The contents of the annotation.

Returns

PdfTextAnnotation

The newly created PdfTextAnnotation object.

AddTextAnnotation(double, double, string, string)

Adds the new text annotation to the PdfPage.

public PdfTextAnnotation AddTextAnnotation(double x, double y, string title, string contents)

Parameters

x double

The x-coordinate of the upper-left corner of the text annotation.

y double

The y-coordinate of the upper-left corner of the text annotation.

title string

The title for the annotation.

contents string

The contents of the annotation.

Returns

PdfTextAnnotation

The newly created PdfTextAnnotation object.