.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

PdfDocumentProcessor.AddTextMarkupAnnotation Method

Name Parameters Description
AddTextMarkupAnnotation(PdfDocumentArea, PdfTextMarkupAnnotationType) area, style Creates a text markup annotation for the text located in the specified page area.
AddTextMarkupAnnotation(PdfDocumentPosition, PdfDocumentPosition, PdfTextMarkupAnnotationType) startPosition, endPosition, style Creates a text markup annotation for text located between the specified positions on the page.
AddTextMarkupAnnotation(Int32, PdfOrientedRectangle, PdfTextMarkupAnnotationType) pageNumber, textRectangle, style Creates a text markup annotation at the specified page area.
AddTextMarkupAnnotation(Int32, PdfRectangle, PdfTextMarkupAnnotationType) pageNumber, rectangle, style Creates a text markup annotation for the text located in the specified page rectangle.
AddTextMarkupAnnotation(Int32, IEnumerable<PdfOrientedRectangle>, PdfTextMarkupAnnotationType) pageNumber, textRectangles, style Creates a text markup annotation at the specified area on the page.
AddTextMarkupAnnotation(Int32, IEnumerable<PdfQuadrilateral>, PdfTextMarkupAnnotationType) pageNumber, quads, style Creates a text markup annotation at the specified page area.