Eplan Platform API
Eplan.EplApi.DataModel.Graphics Namespace / Pen Class / Pen Constructor / Pen Constructor(Int16,Int16,Double,Double,SByte)

Line color index. Predefined values are:

0 = black

1 = red

2 = yellow

3 = green

4 = cyan

5 = blue

6 = magenta

7 = white

252 = darkgray

253 = gray

The user can set also other values; possible values are from 0 to 255

Line style. Predefined line type index values are:

0 = continous: ------

1 = dash: - - - - -

2 = dot: .......

3 = dashdot: _._._._

4 = dashdotdot: _.._.._

5 = dash: _ _

6 = dashlongdot: __ _

style factor
Line width
Line end type

In This Topic
    Pen Constructor(Int16,Int16,Double,Double,SByte)
    In This Topic
    Constructor for internal usage only.
    Syntax

    Parameters

    Parameter NameDescription
    nColorId

    Line color index. Predefined values are:

    0 = black

    1 = red

    2 = yellow

    3 = green

    4 = cyan

    5 = blue

    6 = magenta

    7 = white

    252 = darkgray

    253 = gray

    The user can set also other values; possible values are from 0 to 255

    nStyleIdLine style. Predefined line type index values are:

    0 = continous: ------

    1 = dash: - - - - -

    2 = dot: .......

    3 = dashdot: _._._._

    4 = dashdotdot: _.._.._

    5 = dash: _ _

    6 = dashlongdot: __ _

    dStyleFactorstyle factor
    crdWidthLine width
    nEndTypeLine end type
    See Also