Back to Devexpress

PdfRedactAnnotationFacade.FillColor Property

officefileapi-devexpress-dot-pdf-dot-pdfredactannotationfacade.md

latest2.5 KB
Original Source

PdfRedactAnnotationFacade.FillColor Property

Specifies an annotation’s fill color.

Namespace : DevExpress.Pdf

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

NuGet Package : DevExpress.Pdf.Core

Declaration

csharp
public PdfRGBColor FillColor { get; set; }
vb
Public Property FillColor As PdfRGBColor

Property Value

TypeDescription
PdfRGBColor

The fill color.

|

Remarks

Use the OverlayText property to specify the annotation’s text. You can specify the background color and overlay text separately.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the FillColor 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.

winforms-pdf-viewer-redaction-annotations/CS/DXApplication1/Form1.cs#L51

csharp
redactAnnotation.Author = "Jane Doe";
redactAnnotation.FillColor = new PdfRGBColor(0, 0, 0);
redactAnnotation.FontColor = new PdfRGBColor(1, 1, 1);

winforms-pdf-viewer-redaction-annotations/VB/DXApplication1/Form1.vb#L36

vb
redactAnnotation.Author = "Jane Doe"
redactAnnotation.FillColor = New PdfRGBColor(0, 0, 0)
redactAnnotation.FontColor = New PdfRGBColor(1, 1, 1)

See Also

PdfRedactAnnotationFacade Class

PdfRedactAnnotationFacade Members

DevExpress.Pdf Namespace