GetLineStyle Method (IRichLineStyle)

GetLineStyle Method (IRichLineStyle) | Send Feedback
See Also

StyleName[out]
  Style name

VertexIndex
  Index of the line element whose style name to get

Gets the style name of the specified RichLineStyle.

# Syntax

Visual Basic |
--- | ---
    Function GetLineStyle( _
       ByVal VertexIndex As System.Integer _
    ) As System.String

C# |
--- | ---
    System.string GetLineStyle(
       System.int VertexIndex
    )

JavaScript |
--- | ---
    GetLineStyle(
       VertexIndex : Number
    ) : String

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

C++ |
--- | ---
    DSRESULT GetLineStyle(
       long VertexIndex,
       dsString* StyleName
    )

#### Parameters

VertexIndex
  Index of the line element whose style name to get
StyleName[out] or Return Value
  Style name

# Remarks

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

# See Also

####

IRichLineStyle Interface
IRichLineStyle Members

# Availability

DraftSight V1R1.3