Table of Contents

Property Rgb

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

Rgb

Gets or sets the colour the style plots in, 0xRRGGBB, where UsesObjectColor is false; read as black for a style of the object's colour. Setting it chooses a colour of its own, of the kind the style had.

public int Rgb { get; set; }

Property Value

int

Exceptions

ArgumentOutOfRangeException

Thrown when the value is not 0 to 0xFFFFFF.