Creates a font from current settings.
Namespace: Spotfire.Dxp.Framework.Styles
Assembly: Spotfire.Dxp.Framework (in Spotfire.Dxp.Framework.dll) Version: 23.18.9504.3877 (23.18.9504.3877)
Syntax
C#
public static Color ToColor( this ColorInfo color )
Parameters
- color
- Type: Spotfire.Dxp.Framework.StylesColorInfo
The color.
Return Value
Type: ColorA font. The caller is responsible for disposing it when done.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type ColorInfo. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).Version Information
See Also