API Help
Eplan.EplApi.DataModel.Graphics Namespace / Color Structure
Members

In This Topic
    Color Structure
    In This Topic
    Eplan Color Value Defines the color of graphical placements Color stores either a) an colorId as reference into an internal color table (Default) OR ... b) the RGB values of the color OR ... c) a special color id ByLayer, that says: color is defined by layer usually the color is defined by color id. imported 3d graphics may store RGB values directly if the ColorId==ByLayer then the color must be taken from layer if the TransparencyDefinedByLayer is true, then the transparency must be taken from layer otherwise the transparency is stored in this object
    Inheritance Hierarchy

    System.Object
       System.ValueType
          Eplan.EplApi.DataModel.Graphics.Color

    Syntax
    public struct Color : System.ValueType 
    public value class Color : public System.ValueType 
    Public Constructors
     NameDescription
    Public ConstructorOverloaded.   
    Top
    Public Properties
     NameDescription
    Public PropertyGets or sets the blue channel value of color (0-255) this value is valid, if ColorId == Invalid  
    Public PropertyGets or sets Color id if this color index is set, then the rgb values are invalid if RGB Values are set, then Invalid will be returned  
    Public PropertyGets or sets the green channel value of color (0-255) this value is valid, if ColorId == Invalid  
    Public PropertyGets or sets the red channel value of color (0-255) this value is valid only, if ColorId == Invalid  
    Public PropertyGets or sets transparency (0-255) due to internal technical limitations transparency is always stored as even value so 13 will be stored as 12 for example  
    Public Propertyif true, then transparency must be taken from layer  
    Top
    See Also