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