Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot Namespace / ViewportLayout Class / ZoomFit Method / ZoomFit(IList<SelectedItem>,Int32) Method
The collection of entities to fit
Pixels margin from the border

In This Topic
    ZoomFit(IList<SelectedItem>,Int32) Method
    In This Topic
    Fits the selected items.
    Syntax
    'Declaration
     
    Public Overloads Overridable Sub ZoomFit( _
       ByVal items As IList(Of ViewportLayout.SelectedItem), _
       ByVal margin As Integer _
    ) 
    public virtual void ZoomFit( 
       IList<ViewportLayout.SelectedItem> items,
       int margin
    )

    Parameters

    items
    The collection of entities to fit
    margin
    Pixels margin from the border
    See Also