Environment.ZoomFitSelectedLeaves (Int32, perspectiveFitType) Method

Fits the selected entities, including the ones inside BlockReferences.
Public Overridable Sub ZoomFitSelectedLeaves( _ 
ByVal margin As Integer, _ 
ByVal perspectiveFitMode As perspectiveFitType
)
This language is not supported or no code example is available.
public virtual void ZoomFitSelectedLeaves( 
int margin
perspectiveFitType perspectiveFitMode 
)
This language is not supported or no code example is available.

Parameters

margin
int

Pixels margin from the border

perspectiveFitMode
perspectiveFitType

Zoom fit accuracy in perspective projection mode

.NET Framework

Supported in: 4.5, 4.6, 4.7

In this article

Definition