Gets or sets the color of the layer.
Namespace:
ceometric.VectorGeometry- 1: red
- 2: yellow
- 3: green
- 4: cyan
- 5: blue
- 6: magenta
- 7: white
Assembly: ceometric.VectorGeometry (in ceometric.VectorGeometry.dll) Version: 1.6.0.0 (1.6.0.0)
Syntax
| C# |
|---|
public byte Color { get; set; } |
| Visual Basic (Declaration) |
|---|
Public Property Color As Byte |
| Visual C++ |
|---|
public: property unsigned char Color { unsigned char get (); void set (unsigned char value); } |
Field Value
The color of the layer.
Remarks
The color must be an integer value between 1 and 255.
Exceptions
| Exception | Condition |
|---|---|
| System..::.ArgumentException | The color value is not between 1 and 255. |