Viewport.ZoomFit (IList<SelectedItem>, Int32, perspectiveFitType) Method

Fits the selected items.
Public Overridable Sub ZoomFit( _ 
ByVal items As IList(Of SelectedItem), _ 
ByVal margin As Integer, _ 
ByVal perspectiveFitMode As perspectiveFitType
)
This language is not supported or no code example is available.
public virtual void ZoomFit( 
IList<SelectedItem> items
int margin
perspectiveFitType perspectiveFitMode 
)
This language is not supported or no code example is available.

Parameters

items
IList<SelectedItem>

The collection of entities to fit

margin
int

Pixels margin from the border

perspectiveFitMode
perspectiveFitType

Zoom fit accuracy in perspective projection mode

.NET Framework

Supported in: 4.8

In this article

Definition