SetWindow Method (INamedView)

SetWindow Method (INamedView) | Send Feedback
See Also

FirstCorner
  Corner point of the window that defines the named view

OppositeCorner
  Corner point opposite FirstCorner that defines the named view

Sets the window that defines the named view.

# Syntax

Visual Basic |
--- | ---
    Sub SetWindow( _
       ByVal FirstCorner As MathPoint, _
       ByVal OppositeCorner As MathPoint _
    )

C# |
--- | ---
    void SetWindow(
       MathPoint FirstCorner,
       MathPoint OppositeCorner
    )

JavaScript |
--- | ---
    SetWindow(
       FirstCorner : dsMathPoint,
       OppositeCorner : dsMathPoint
    )

COM native C++ |
--- | ---
    HRESULT SetWindow(
       IMathPoint* FirstCorner,
       IMathPoint* OppositeCorner
    )

C++ |
--- | ---
    DSRESULT SetWindow(
       dsMathPoint* FirstCorner,
       dsMathPoint* OppositeCorner
    )

#### Parameters

FirstCorner
  Corner point of the window that defines the named view
OppositeCorner
  Corner point opposite FirstCorner that defines the named view

# See Also

####

INamedView Interface
INamedView Members
INamedView::GetName Method ()

# Availability

DraftSight V1R5.0