Class ColorExtensions
Extension helpers for converting system color values to RadPdfProcessing color types so colors render consistently in PDFs.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Fixed.Model.Extensions
Assembly: Telerik.Windows.Documents.Fixed.dll
Syntax
public static class ColorExtensions
Methods
ToColor(Color)
Convert the system color to a ColorBase for use in RadPdfProcessing, preserving the original ARGB components.
Declaration
public static ColorBase ToColor(this Color color)
Parameters
|
System.Windows.Media.Color
color
The system Color to convert. |
Returns
|
ColorBase
An RgbColor instance with the same ARGB values as the input color. |