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

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

.NET Framework

Supported in: 4.8

In this article

Definition