.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

Declaration

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

Parameters

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.

Returns

Type Description
PdfTextMarkupAnnotationData

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

Remarks

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