SetLineStyleInViewport Method (ILayer)

SetLineStyleInViewport Method (ILayer) | Send Feedback
See Also

LineStyle
  Name of the LineStyle

Viewport
  Viewport

Sets the name of the LineStyle for this Layer in the specified Viewport.

# Syntax

Visual Basic |
--- | ---
    Sub SetLineStyleInViewport( _
       ByVal LineStyle As System.String, _
       ByVal Viewport As Viewport _
    )

C# |
--- | ---
    void SetLineStyleInViewport(
       System.string LineStyle,
       Viewport Viewport
    )

JavaScript |
--- | ---
    SetLineStyleInViewport(
       LineStyle : String,
       Viewport : dsViewport
    )

COM native C++ |
--- | ---
    HRESULT SetLineStyleInViewport(
       BSTR LineStyle,
       IViewport* Viewport
    )

C++ |
--- | ---
    DSRESULT SetLineStyleInViewport(
       const dsString& LineStyle,
       dsViewport* Viewport
    )

#### Parameters

LineStyle
  Name of the LineStyle
Viewport
  Viewport

# See Also

####

ILayer Interface
ILayer Members
ILayer::GetLineSyleInViewport Method ()
ILayer::RemoveLineStyleOverride Method ()
ILayer::RemoveLineStyleOverrides Method ()
ILayer::LineStyle Property ()

# Availability

DraftSight V1R6.0