officefileapi-devexpress-dot-pdf-dot-ipdfviewerannotationbuilder-515e157f.md
Specifies the annotation’s color.
Namespace : DevExpress.Pdf
Assembly : DevExpress.Pdf.v25.2.Drawing.dll
NuGet Package : DevExpress.Pdf.Drawing
PdfRGBColor Color { get; set; }
Property Color As PdfRGBColor
| Type | Description |
|---|---|
| PdfRGBColor |
The markup annotation color.
|
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Color 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.
annotationBuilder.Contents = "Note";
annotationBuilder.Color = new PdfRGBColor(0.23, 0.48, 0.34);
}
annotationBuilder.Contents = "Note"
annotationBuilder.Color = New PdfRGBColor(0.23, 0.48, 0.34)
End If
See Also
IPdfViewerAnnotationBuilder Interface