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

PdfDocumentProcessor.AddTextMarkupAnnotation(Int32, IEnumerable<PdfQuadrilateral>, PdfTextMarkupAnnotationType) Method

Adds a text markup annotation to the specified area on the page.

Namespace: DevExpress.Pdf

Assembly: DevExpress.Docs.v20.1.dll


public PdfTextMarkupAnnotationData AddTextMarkupAnnotation(
    int pageNumber,
    IEnumerable<PdfQuadrilateral> quads,
    PdfTextMarkupAnnotationType style
Public Function AddTextMarkupAnnotation(
    pageNumber As Integer,
    quads As IEnumerable(Of PdfQuadrilateral),
    style As PdfTextMarkupAnnotationType
) As PdfTextMarkupAnnotationData


Name Type Description
pageNumber Int32

An integer value that specifies the number of the page where the annotation should be added.

quads IEnumerable<PdfQuadrilateral>

A collection of PdfQuadrilateral objects that represent quadrilaterals specifying the text markup annotation bounds on a page.

style PdfTextMarkupAnnotationType

A PdfTextMarkupAnnotationType enumeration value that specifies the markup annotation type to be added to a page.


Type Description

A PdfTextMarkupAnnotationData object that represents the created text markup annotation on a page.


After creating a text markup annotation, you can specify the markup annotation using properties of the PdfTextMarkupAnnotationData class.

This method creates a text markup annotation for the specified quadrilaterals. This method returns null if the collection of PdfQuadrilateral objects is empty.

See Also