IsOn Property (IViewport)

IsOn Property (IViewport) | Send Feedback
See Also Example

Gets or sets whether the Viewport is displayed in the graphics area.

# Syntax

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

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

JavaScript |
--- | ---
    get_IsOn () : Boolean
    put_IsOn (
       NewVal : Boolean
    )

COM native C++ |
--- | ---
    HRESULT get_IsOn(
       VARIANT_BOOL* Val
    )
    HRESULT put_IsOn(
       VARIANT_BOOL NewVal

C++ |
--- | ---
    DSRESULT get_IsOn (
       bool* Val
    )
    DSRESULT put_IsOn(
       bool NewVal
    )

#### Property Value

True if the Viewport is displayed in the graphics area, false if not

# Example

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

# See Also

####

IViewport Interface
IViewport Members
IViewport::Visible Property

# Availability

DraftSight V1R3.0