Eplan Platform API
Eplan.EplApi.DataModel.Graphics Namespace / Pen Class
Properties Methods

Pen Class Members

The following tables list the members exposed by Pen.

Public Constructors
 NameDescription
Public ConstructorOverloaded.   
Top
Public Properties
 NameDescription
Public PropertyColor index (0-255). Please use "-16002" for "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

-16002 = from layer

 
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 PatternLength. 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: __ _

-16002 = from layer

 
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