Environment.ZoomFit (IList<Entity>, Boolean, Int32) Method
Fits the entire model in the viewport control's client area.
Public Overridable Sub ZoomFit( _
ByVal entList As IList(Of Entity), _
ByVal selectedOnly As Boolean, _
ByVal margin As Integer _
)
This language is not supported or no code example is available.
This language is not supported or no code example is available.
Parameters
-
entList
-
IList<Entity>
The list of entities to fit
-
selectedOnly
-
bool
If true, fits only selected entities.
-
margin
-
int
Pixels margin from the border
.NET Framework
Supported in: 4.5, 4.6, 4.7