GetActiveViewport Method (ISheet)

GetActiveViewport Method (ISheet) | Send Feedback
See Also

Viewport[out]
  Active Viewport

Gets the active Viewport on the Sheet.

# Syntax

Visual Basic |
--- | ---
    Function GetActiveViewport() As Viewport

C# |
--- | ---
    Viewport GetActiveViewport()

JavaScript |
--- | ---
    GetActiveViewport() : dsViewport

COM native C++ |
--- | ---
    HRESULT GetActiveViewport(
       IViewport** Viewport
    )

C++ |
--- | ---
    DSRESULT GetActiveViewport(
       dsViewport** Viewport
    )

#### Parameters

Viewport[out] or Return Value
  Active Viewport

# See Also

####

ISheet Interface
ISheet Members
ISheet::GetViewports Method

# Availability

DraftSight V1R3.0