Viewport.ZoomFit (Boolean, perspectiveFitType) Method

Fits the entire model in the viewport control's client area.
Public Overridable Sub ZoomFit( _ 
ByVal selectedOnly As Boolean, _ 
ByVal perspectiveFitMode As perspectiveFitType
)
This language is not supported or no code example is available.
public virtual void ZoomFit( 
bool selectedOnly
perspectiveFitType perspectiveFitMode 
)
This language is not supported or no code example is available.

Parameters

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