Active Property (IViewport)

Active Property (IViewport) | Send Feedback
See Also Example

Gets or sets whether this Viewport is the active Viewport.

# Syntax

Visual Basic |
--- | ---
    Property Active As System.Boolean

C# |
--- | ---
    System.bool Active {get; set;}

JavaScript |
--- | ---
    get_Active () : Boolean
    put_Active (
       NewVal : Boolean
    )

COM native C++ |
--- | ---
    HRESULT get_Active(
       VARIANT_BOOL* Val
    )
    HRESULT put_Active(
       VARIANT_BOOL NewVal

C++ |
--- | ---
    DSRESULT get_Active (
       bool* Val
    )
    DSRESULT put_Active(
       bool NewVal
    )

#### Property Value

True if this Viewport is the active Viewport, false if not

# Example

Create Rectangular Viewport (C#)
Create Rectangular Viewport (VB.NET)
Create Rectangular Viewport (VBA)

# See Also

####

IViewport Interface
IViewport Members

# Availability

DraftSight V1R3.0