Skip to main content

PdfDocumentProcessor.AddTextMarkupAnnotation(PdfDocumentArea, PdfTextMarkupAnnotationType) Method

Creates a text markup annotation for the text located in the specified page area.

Namespace: DevExpress.Pdf

Assembly: DevExpress.Docs.v23.2.dll

NuGet Package: DevExpress.Document.Processor

Declaration

public PdfTextMarkupAnnotationData AddTextMarkupAnnotation(
    PdfDocumentArea area,
    PdfTextMarkupAnnotationType style
)

Parameters

Name Type Description
area PdfDocumentArea

The document area where the annotation should be located.

style PdfTextMarkupAnnotationType

The text markup annotation type.

Returns

Type Description
PdfTextMarkupAnnotationData

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

Remarks

If a specified page area does not contain text, the AddTextMarkupAnnotation method returns null.

See Also