Class ColorExtensions
Extension helpers for converting system color values to RadPdfProcessing color types so colors render consistently in PDFs.
Inheritance
System.Object
ColorExtensions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
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. |