Class EmfColor
Represents an RGB color reconstructed from an EMF COLORREF.
Inherited Members
Namespace: DRIT.Drawing.Metafile
Assembly: DRIT.Drawing.dll
Syntax
public sealed class EmfColor
Constructors
EmfColor()
Initializes an empty EmfColor instance.
Declaration
public EmfColor()
Properties
B
Gets the blue channel.
Declaration
public byte B { get; }
Property Value
| Type | Description |
|---|---|
| byte |
G
Gets the green channel.
Declaration
public byte G { get; }
Property Value
| Type | Description |
|---|---|
| byte |
R
Gets the red channel.
Declaration
public byte R { get; }
Property Value
| Type | Description |
|---|---|
| byte |
Methods
ToString()
Returns the color as a hexadecimal RGB value.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string |