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
PdfPointThe position of the upper-left corner of the text annotation.
title
stringThe 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
PdfPointThe position of the upper-left corner of the text annotation.
title
stringThe title for the annotation.
contents
stringThe 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
doubleThe x-coordinate of the upper-left corner of the text annotation.
y
doubleThe y-coordinate of the upper-left corner of the text annotation.
title
stringThe title for the annotation.
contents
stringThe contents of the annotation.
Returns
- PdfTextAnnotation
The newly created PdfTextAnnotation object.