SetTranparencyInViewport Method (ILayer)

SetTranparencyInViewport Method (ILayer) | Send Feedback
See Also

Transparency
  Transparency percentage, which must between 0 and 90 where 0 means no transparency (opaque)

Viewport
  Viewport

Sets the transparency percentage for this Layer in the specified Viewport.

# Syntax

Visual Basic |
--- | ---
    Sub SetTranparencyInViewport( _
       ByVal Transparency As System.Integer, _
       ByVal Viewport As Viewport _
    )

C# |
--- | ---
    void SetTranparencyInViewport(
       System.int Transparency,
       Viewport Viewport
    )

JavaScript |
--- | ---
    SetTranparencyInViewport(
       Transparency : Number,
       Viewport : dsViewport
    )

COM native C++ |
--- | ---
    HRESULT SetTranparencyInViewport(
       LONG Transparency,
       IViewport* Viewport
    )

C++ |
--- | ---
    DSRESULT SetTranparencyInViewport(
       long Transparency,
       dsViewport* Viewport
    )

#### Parameters

Transparency
  Transparency percentage, which must between 0 and 90 where 0 means no transparency (opaque)
Viewport
  Viewport

# See Also

####

ILayer Interface
ILayer Members
ILayer::GetTranparencyInViewport Method ()
ILayer::RemoveTransparencyOverride Method ()
ILayer::RemoveTransparencyOverrides Method ()
ILayer::Transparency Property ()

# Availability

DraftSight V1R6.0