Class ColorExtensions
Provides extension methods for converting between different color representation types used in PDF processing.
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)
Converts a system Color structure to a ColorBase object compatible with RadPdfProcessing operations.
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. |