Environment.SetView (viewType, Boolean, Boolean, Int32, Boolean) Method

Sets the specified view in the active viewport.
Public Sub SetView( _ 
ByVal view As viewType, _ 
ByVal fit As Boolean, _ 
ByVal animate As Boolean, _ 
ByVal margin As Integer, _ 
Optional ByVal selectedOnly As Boolean = false _ 
)
This language is not supported or no code example is available.
public void SetView( 
viewType view
bool fit
bool animate
int margin
bool selectedOnly = false 
)
This language is not supported or no code example is available.

Parameters

view
viewType

View type

fit
bool

If true fits the view

animate
bool

If true performs an animation when changing the view

margin
int

Pixels margin from the border, if fit is true

selectedOnly
bool

If fit is true, fits only the selected entities

.NET Framework

Supported in: 4.8

In this article

Definition