.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

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

Creates a text markup annotation at the specified page area.

Namespace: DevExpress.Pdf

Assembly: DevExpress.Docs.v21.1.dll

Declaration

public PdfTextMarkupAnnotationData AddTextMarkupAnnotation(
    int pageNumber,
    IEnumerable<PdfQuadrilateral> quads,
    PdfTextMarkupAnnotationType style
)

Parameters

Name Type Description
pageNumber Int32

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

Type Description
PdfTextMarkupAnnotationData

A text markup annotation.

Remarks

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

See Also