Back to Devexpress

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

officefileapi-devexpress-dot-pdf-dot-pdfdocumentprocessor-dot-addtextmarkupannotation-x28-int32-ienumerable-pdfquadrilateral-pdftextmarkupannotationtype-x29.md

latest2.5 KB
Original Source

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

Creates a text markup annotation at the specified page area.

Namespace : DevExpress.Pdf

Assembly : DevExpress.Docs.v25.2.dll

NuGet Package : DevExpress.Document.Processor

Declaration

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

Parameters

NameTypeDescription
pageNumberInt32

The number of the page where the annotation should be added.

| | quads | IEnumerable<PdfQuadrilateral> |

A collection of quadrilaterals used to specify the text markup annotation bounds.

| | style | PdfTextMarkupAnnotationType |

The text markup annotation type.

|

Returns

TypeDescription
PdfTextMarkupAnnotationData

A text markup annotation.

|

Remarks

This method returns null if the collection of PdfQuadrilateral objects is empty.

See Also

Organize Annotations in PDF Document API

PdfDocumentProcessor Class

PdfDocumentProcessor Members

DevExpress.Pdf Namespace