GetLineStyle Method (ILineStyleManager)

GetLineStyle Method (ILineStyleManager) | Send Feedback
See Also Example

LineStyle[out]
  Simple LineStyle

Name
  Name of the loaded simple LineStyle to get

Gets the specified simple LineStyle loaded in this document.

# Syntax

Visual Basic |
--- | ---
    Function GetLineStyle( _
       ByVal Name As System.String _
    ) As LineStyle

C# |
--- | ---
    LineStyle GetLineStyle(
       System.string Name
    )

JavaScript |
--- | ---
    GetLineStyle(
       Name : String
    ) : dsLineStyle

COM native C++ |
--- | ---
    HRESULT GetLineStyle(
       BSTR Name,
       ILineStyle** LineStyle
    )

C++ |
--- | ---
    DSRESULT GetLineStyle(
       const dsString& Name,
       dsLineStyle** LineStyle
    )

#### Parameters

Name
  Name of the loaded simple LineStyle to get
LineStyle[out] or Return Value
  Simple LineStyle

# Example

Load and Activate LineStyles (C#)
Load and Activate LineStyles (VB.NET)
Load and Activate LineStyles (VBA)
Load and Activate LineStyles (JavaScript)

# Remarks

You must create simple LineStyles and load simple LineStyles before you can get them.

# See Also

####

ILineStyleManager Interface
ILineStyleManager Members
ILineStyleManager::GetActiveLineStyle Method ()
ILineStyleManager::GetLineStyles Method ()
ILineStyleManager::RemoveLineStyle Method ()

# Availability

DraftSight V1R4.0