GetLineSyleInViewport Method (ILayer)

GetLineSyleInViewport Method (ILayer) | Send Feedback
See Also

LineStyle[out]
  Name of LineStyle

Viewport
  Viewport

IsOverride[out]
  True if the LineStyle for this Layer is overridden in the specified Viewport, false if not

Gets the name of the LineStyle for this Layer in the specified Viewport and whether the LineStyle is overridden in that Viewport.

# Syntax

Visual Basic |
--- | ---
    Function GetLineSyleInViewport( _
       ByVal Viewport As Viewport, _
       ByRef IsOverride As System.Boolean _
    ) As System.String

C# |
--- | ---
    System.string GetLineSyleInViewport(
       Viewport Viewport,
       out System.bool IsOverride
    )

JavaScript |
--- | ---
    GetLineSyleInViewport(
       Viewport : dsViewport
    ) : {
       IsOverride : Boolean,
       LineStyle : String
    }

COM native C++ |
--- | ---
    HRESULT GetLineSyleInViewport(
       IViewport* Viewport,
       VARIANT_BOOL* IsOverride,
       BSTR* LineStyle
    )

C++ |
--- | ---
    DSRESULT GetLineSyleInViewport(
       dsViewport* Viewport,
       bool* IsOverride,
       dsString* LineStyle
    )

#### Parameters

Viewport
  Viewport
IsOverride[out]
  True if the LineStyle for this Layer is overridden in the specified Viewport, false if not
LineStyle[out] or Return Value
  Name of LineStyle

# See Also

####

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

# Availability

DraftSight V1R6.0