officefileapi-devexpress-dot-pdf-dot-pdftextmarkupannotationdata.md
Specifies the text markup annotation type.
Namespace : DevExpress.Pdf
Assembly : DevExpress.Pdf.v25.2.Core.dll
NuGet Package : DevExpress.Pdf.Core
public PdfTextMarkupAnnotationType MarkupType { get; set; }
Public Property MarkupType As PdfTextMarkupAnnotationType
| Type | Description |
|---|---|
| PdfTextMarkupAnnotationType |
One of the PdfTextMarkupAnnotationType enumeration values that specifies the text markup annotation type.
|
Available values:
| Name | Description | Example |
|---|---|---|
| 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
//Change the annotation's markup type:
pdfTextMarkup.MarkupType = PdfTextMarkupAnnotationType.Squiggly;
}
pdf-document-api-manage-annotations-in-document/VB/CreateMarkupAnnotation/Program.vb#L54
'Change the annotation's markup type:
If pdfTextMarkup IsNot Nothing Then pdfTextMarkup.MarkupType = PdfTextMarkupAnnotationType.Squiggly
Next
See Also
PdfTextMarkupAnnotationData Class