PdfDocumentProcessor.AddTextMarkupAnnotation(Int32, IEnumerable<PdfQuadrilateral>, PdfTextMarkupAnnotationType) Method
Adds a text markup annotation to the specified area on the page.
Namespace: DevExpress.Pdf
Assembly: DevExpress.Docs.v19.1.dll
Declaration
Parameters
Name | Type | Description |
---|---|---|
pageNumber | Int32 | An integer value that specifies the number of the page where the annotation should be added. |
quads | IEnumerable<PdfQuadrilateral> | A collection of PdfQuadrilateral objects that represent quadrilaterals specifying the text markup annotation bounds on a page. |
style | PdfTextMarkupAnnotationType | A PdfTextMarkupAnnotationType enumeration value that specifies the markup annotation type to be added to a page. |
Returns
Type | Description |
---|---|
PdfTextMarkupAnnotationData | A PdfTextMarkupAnnotationData object that represents the created text markup annotation on a page. |
Remarks
After creating a text markup annotation, you can specify the markup annotation using properties of the PdfTextMarkupAnnotationData class.
This method creates a text markup annotation for the specified quadrilaterals. This method returns null if the collection of PdfQuadrilateral objects is empty.