Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot Namespace / ViewportLayout Class / SetView Method / SetView(viewType,Boolean,Boolean,Int32,Boolean) Method
View type
If true fits the view
If true performs an animation when changing the view
Pixels margin from the border, if fit is true
If fit is true, fits only the selected entities

In This Topic
    SetView(viewType,Boolean,Boolean,Int32,Boolean) Method
    In This Topic
    Sets the specified view in the active viewport.
    Syntax
    'Declaration
     
    Public Overloads Sub SetView( _
       ByVal view As viewType, _
       ByVal fit As Boolean, _
       ByVal animate As Boolean, _
       ByVal margin As Integer, _
       Optional ByVal selectedOnly As Boolean _
    ) 
    public void SetView( 
       viewType view,
       bool fit,
       bool animate,
       int margin,
       bool selectedOnly
    )

    Parameters

    view
    View type
    fit
    If true fits the view
    animate
    If true performs an animation when changing the view
    margin
    Pixels margin from the border, if fit is true
    selectedOnly
    If fit is true, fits only the selected entities
    See Also