IColor Interface Send Feedback
See Also  Members   Example
Allows access to LineColors, TextColors, and background Colors.

Syntax

Visual Basic 
Public Interface IColor 
C# 
public interface IColor 
JavaScript 
Object dsColor
COM native C++ 
interface IColor
C++ 
class dsColor

Example

Remarks

To change the color of an entity that allows access to its Color:

  1. Get the entity's Color object.
  2. Call IColor::SetByColor, IColor::SetColorByIndex, IColor::SetNamedColor, or IColor::SetRGBColor to change the color of that instance of the Color object.
  3. Update the entity's Color object using the updated Color object.

The examples linked to this Help topic demonstrate how to change the color of a Line.

Accessors

Object Model

See Also