Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.v24.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