SetLineWeightInViewport Method (ILayer)

SetLineWeightInViewport Method (ILayer) | Send Feedback
See Also

LineWeight
  LineWeight as defined in dsLineWeight_e

Viewport
  Viewport

Sets the type of LineWeight for this Layer in the specified Viewport.

# Syntax

Visual Basic |
--- | ---
    Sub SetLineWeightInViewport( _
       ByVal LineWeight As dsLineWeight_e, _
       ByVal Viewport As Viewport _
    )

C# |
--- | ---
    void SetLineWeightInViewport(
       dsLineWeight_e LineWeight,
       Viewport Viewport
    )

JavaScript |
--- | ---
    SetLineWeightInViewport(
       LineWeight : String,
       Viewport : dsViewport
    )

COM native C++ |
--- | ---
    HRESULT SetLineWeightInViewport(
       dsLineWeight_e LineWeight,
       IViewport* Viewport
    )

C++ |
--- | ---
    DSRESULT SetLineWeightInViewport(
       dsLineWeight_e LineWeight,
       dsViewport* Viewport
    )

#### Parameters

LineWeight
  LineWeight as defined in dsLineWeight_e
Viewport
  Viewport

# See Also

####

ILayer Interface
ILayer Members
ILayer::GetLineWeightInViewport Method ()
ILayer::LineWeight Property ()

# Availability

DraftSight V1R6.0