Viewport.ZoomFit (IList<Entity>, Boolean, perspectiveFitType) 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 perspectiveFitMode As perspectiveFitType
)
This language is not supported or no code example is available.
public virtual void ZoomFit( 
IList<Entity> entList
bool selectedOnly
perspectiveFitType perspectiveFitMode 
)
This language is not supported or no code example is available.

Parameters

entList
IList<Entity>

The list of entities to be fitted

selectedOnly
bool

If true, fits only selected entities.

perspectiveFitMode
perspectiveFitType

Zoom fit accuracy in perspective projection mode

.NET Framework

Supported in: 4.8

In this article

Definition