Eplan Platform API
Eplan.EplApi.DataModel.Graphics Namespace / Pen Class
Members

In This Topic
    Pen Class
    In This Topic
    Pen class represents graphical objects' drawing settings.
    Inheritance Hierarchy

    System.Object
       Eplan.EplApi.DataModel.Graphics.Pen

    Syntax
    public class Pen 
    public ref class Pen 
    Public Constructors
     NameDescription
    Public ConstructorOverloaded.   
    Top
    Public Properties
     NameDescription
    Public PropertyColor index (0-255) Please use -16002 as "From layer" value.

    Predefined values for line color index are:

    0 = black

    1 = red

    2 = yellow

    3 = green

    4 = cyan

    5 = blue

    6 = magenta

    7 = white

    252 = darkgray

    253 = gray

     
    Public PropertyType of line end (0-2)  
    Public PropertyPattern length. The pattern will be stretched, so that the whole pattern fits to the length of PatternLenght. This is like in EPLAN 5. Please use 16002 as "From layer" value.  
    Public PropertyLine Style Factor when positive or Pattern Length when negative. Default value: 1 Please use -16002 as "From layer" value.  
    Public PropertyLine style identifier (0-6) Please use -16002 as "From layer" value.

    Predefined line type index values are:

    0 = continous: ------

    1 = dash: - - - - -

    2 = dot: .......

    3 = dashdot: _._._._

    4 = dashdotdot: _.._.._

    5 = dash: _ _

    6 = dashlongdot: __ _

     
    Public PropertyLine width. Normally it is 0.13 - 2 Please use -16002 as "From layer" value.  
    Top
    Public Methods
     NameDescription
    Public MethodDestructor for deterministic finalization of Pen object.  
    Public MethodServes as the default hash function.  
    Top
    Public Operators
    .NET operator for comparing two GraphicalLayers. Comparison is made by comparing each of GraphicalLayers members instead of internal object id.
    Top
    See Also