Back to Devexpress

PdfWidgetFacade.FontColor Property

officefileapi-devexpress-dot-pdf-dot-pdfwidgetfacade-0eef9d2e.md

latest2.3 KB
Original Source

PdfWidgetFacade.FontColor Property

Specifies the widget’s font or marker color.

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

The font or marker 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.

pdf-document-api-change-pdf-form-field-parameters/CS/pdf-form-fields/Program.cs#L87

csharp
pdfWidget.BorderColor = new PdfRGBColor(0.47, 0.44, 0.67);
pdfWidget.FontColor = new PdfRGBColor(0.34, 0.25, 0.36);

pdf-document-api-change-pdf-form-field-parameters/VB/pdf-form-fields/Program.vb#L66

vb
pdfWidget.BorderColor = New PdfRGBColor(0.47, 0.44, 0.67)
pdfWidget.FontColor = New PdfRGBColor(0.34, 0.25, 0.36)
'Change border style for text form fields:

See Also

PdfWidgetFacade Class

PdfWidgetFacade Members

DevExpress.Pdf Namespace