GetPrintStyleInViewport Method (ILayer)

GetPrintStyleInViewport Method (ILayer) | Send Feedback
See Also

PrintStyle[out]
  Name of the PrintStyle

Viewport
  Viewport

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

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

# Syntax

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

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

JavaScript |
--- | ---
    GetPrintStyleInViewport(
       Viewport : dsViewport
    ) : {
       IsOverride : Boolean,
       PrintStyle : String
    }

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

C++ |
--- | ---
    DSRESULT GetPrintStyleInViewport(
       dsViewport* Viewport,
       bool* IsOverride,
       dsString* PrintStyle
    )

#### Parameters

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

# See Also

####

ILayer Interface
ILayer Members
ILayer::SetPrintStyleInViewport Method ()
ILayer::RemovePrintStyleOverride Method ()
ILayer::RemovePrintStyleOverrides Method ()
ILayer::PrintStyle Property ()

# Availability

DraftSight V1R6.0