InsertViewportByEntity Method (ISheet)

InsertViewportByEntity Method (ISheet) | Send Feedback
See Also

Viewport[out]
  Viewport

Entity
  Entity to convert to a Viewport; valid entities are 2D PolyLine, Circle, Ellipse, Region, and closed Spline

Converts the specified entity into a Viewport.

# Syntax

Visual Basic |
--- | ---
    Function InsertViewportByEntity( _
       ByVal Entity As System.Object _
    ) As Viewport

C# |
--- | ---
    Viewport InsertViewportByEntity(
       System.object Entity
    )

JavaScript |
--- | ---
    InsertViewportByEntity(
       Entity : Object
    ) : dsViewport

COM native C++ |
--- | ---
    HRESULT InsertViewportByEntity(
       IDispatch* Entity,
       IViewport** Viewport
    )

C++ |
--- | ---
    DSRESULT InsertViewportByEntity(
       dsObject* Entity,
       dsViewport** Viewport
    )

#### Parameters

Entity
  Entity to convert to a Viewport; valid entities are 2D PolyLine, Circle, Ellipse, Region, and closed Spline
Viewport[out] or Return Value
  Viewport

# See Also

####

ISheet Interface
ISheet Members
ISheet::InsertPolygonalViewport Method
ISheet::InsertRectangularViewport Method

# Availability

DraftSight V1R3.0