Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

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.v20.2.dll

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