Back to Devexpress

PdfRedactAnnotationFacade.FontColor Property

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

latest2.3 KB
Original Source

PdfRedactAnnotationFacade.FontColor Property

Gets or sets the font color of the overlay text.

Namespace : DevExpress.Pdf

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

NuGet Package : DevExpress.Pdf.Core

Declaration

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

Property Value

TypeDescription
PdfRGBColor

An object that specifies the font color.

|

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

csharp
redactAnnotation.FillColor = new PdfRGBColor(0, 0, 0);
redactAnnotation.FontColor = new PdfRGBColor(1, 1, 1);
redactAnnotation.FontName = "Calibri";

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

vb
redactAnnotation.FillColor = New PdfRGBColor(0, 0, 0)
redactAnnotation.FontColor = New PdfRGBColor(1, 1, 1)
redactAnnotation.FontName = "Calibri"

See Also

PdfRedactAnnotationFacade Class

PdfRedactAnnotationFacade Members

DevExpress.Pdf Namespace