Back to Devexpress

PdfTextMarkupAnnotationData.MarkupType Property

officefileapi-devexpress-dot-pdf-dot-pdftextmarkupannotationdata.md

latest3.2 KB
Original Source

PdfTextMarkupAnnotationData.MarkupType Property

Specifies the text markup annotation type.

Namespace : DevExpress.Pdf

Assembly : DevExpress.Pdf.v25.2.Core.dll

NuGet Package : DevExpress.Pdf.Core

Declaration

csharp
public PdfTextMarkupAnnotationType MarkupType { get; set; }
vb
Public Property MarkupType As PdfTextMarkupAnnotationType

Property Value

TypeDescription
PdfTextMarkupAnnotationType

One of the PdfTextMarkupAnnotationType enumeration values that specifies the text markup annotation type.

|

Available values:

NameDescriptionExample
Highlight

Highlight text markup annotation.

|

| | Underline |

Underline text markup annotation.

|

| | Squiggly |

Squiggly underline text markup annotation.

|

| | StrikeOut |

Strikeout text markup annotation.

|

|

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the MarkupType property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

pdf-document-api-manage-annotations-in-document/CS/CreateMarkupAnnotation/Program.cs#L69

csharp
//Change the annotation's markup type:
        pdfTextMarkup.MarkupType = PdfTextMarkupAnnotationType.Squiggly;
}

pdf-document-api-manage-annotations-in-document/VB/CreateMarkupAnnotation/Program.vb#L54

vb
'Change the annotation's markup type:
    If pdfTextMarkup IsNot Nothing Then pdfTextMarkup.MarkupType = PdfTextMarkupAnnotationType.Squiggly
Next

See Also

PdfTextMarkupAnnotationData Class

PdfTextMarkupAnnotationData Members

DevExpress.Pdf Namespace