[]
        
(Showing Draft Content)

C1.Win.Interop.C1Colors

C1Colors Class

Inheritance
C1Colors
Namespace: C1.Win.Interop
Assembly: C1.Win.8.dll
Syntax
public static class C1Colors

Fields

Name Description
Black
Blue
Green
Magenta
Orange
Red
Transparent
White

Methods

Name Description
AreColorsEqual(Color, Color)

Returns true if two colors are equal.

ColorToHTML(Color)
ColorToString(Color)
FromArgb(byte, byte, byte, byte)
FromArgb(int)
FromArgb(int, out byte, out byte, out byte, out byte)
FromOle(int)

Creates a new Color structure from specified integer. NOTE, this function assumes that integer has BBGGRR format.

FromOleAlpha(int)

Creates a new Color structure from specified integer. NOTE, this function assumes that integer has AABBGGRR format.

FromRgb(byte, byte, byte)
FromRgb(int)
IsOpaque(Color)
IsTransparent(Color)
IsVisible(Color)

Returns a value indicating whether specified Color value represents some "visible" value, for example, this function returns false for transparent color.

ToArgb(byte, byte, byte, byte)
ToArgb(Color)
ToOle(byte, byte, byte)
ToOle(Color)
TryColorFromString(string, out Color)
TryGetColorByName(string, out Color)