Autodesk.AutoCAD.Colors Namespace > ColorMethod Enumeration
Autodesk.AutoCAD.Colors.ColorMethod Enumeration
Description

 

This .NET class wraps the AcCmEntityColor::ColorMethod ObjectARX enum. 

The enum specifies how the color is stored.

Visual Basic
Public Enum ColorMethod
  ByAci = &Hc3
  ByBlock = &Hc1
  ByColor = &Hc2
  ByLayer = &Hc0
  ByPen = &Hc4
  Foreground = &Hc5
  LayerFrozen = &Hc7
  LayerOff = &Hc6
  None = 200
End Enum
C#
public enum ColorMethod {
  ByAci = 0xc3,
  ByBlock = 0xc1,
  ByColor = 0xc2,
  ByLayer = 0xc0,
  ByPen = 0xc4,
  Foreground = 0xc5,
  LayerFrozen = 0xc7,
  LayerOff = 0xc6,
  None = 200
}
Members
Members 
Description 
ByAci = 0xc3 
ACI index in mRGBM.indirect 
ByBlock = 0xc1 
Block color 
ByColor = 0xc2 
blue, green, red, and colorMethod members of mRGBM 
ByLayer = 0xc0 
Layer index in mRGBM.indirect 
ByPen = 0xc4 
Pen index in mRGBM.indirect 
Foreground = 0xc5 
Foreground color 
LayerFrozen = 0xc7 
Layer index in mRGBM.indirect 
LayerOff = 0xc6 
The color method is LayerOff. 
None = 200 
Only mRGBM.colorMethod is valid 
   Comments?