SetLineStyle Method (IRichLineStyle)

SetLineStyle Method (IRichLineStyle) | Send Feedback
See Also

VertexIndex
  Index of the line element whose style name to get (see Remarks)

StyleName
  Style name

Sets the style name of the specified RichLineStyle.

# Syntax

Visual Basic |
--- | ---
    Sub SetLineStyle( _
       ByVal VertexIndex As System.Integer, _
       ByVal StyleName As System.String _
    )

C# |
--- | ---
    void SetLineStyle(
       System.int VertexIndex,
       System.string StyleName
    )

JavaScript |
--- | ---
    SetLineStyle(
       VertexIndex : Number,
       StyleName : String
    )

COM native C++ |
--- | ---
    HRESULT SetLineStyle(
       LONG VertexIndex,
       BSTR StyleName
    )

C++ |
--- | ---
    DSRESULT SetLineStyle(
       long VertexIndex,
       const dsString& StyleName
    )

#### Parameters

VertexIndex
  Index of the line element whose style name to get (see Remarks)
StyleName
  Style name

# Remarks

Call IRichLineStyle::GetLinesCount to determine a valid value for VertexIndex.

# See Also

####

IRichLineStyle Interface
IRichLineStyle Members
IRichLineStyle::GetLineStyle Method

# Availability

DraftSight V1R1.3