Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot Namespace / ViewportLayout Class / ZoomFit Method / ZoomFit(IList<Entity>,Boolean,Int32) Method
The list of entities to fit
If true, fits only selected entities.
Pixels margin from the border

In This Topic
    ZoomFit(IList<Entity>,Boolean,Int32) Method
    In This Topic
    Fits the entire model in the viewport control's client area.
    Syntax
    'Declaration
     
    Public Overloads Overridable Sub ZoomFit( _
       ByVal entList As IList(Of Entity), _
       ByVal selectedOnly As Boolean, _
       ByVal margin As Integer _
    ) 
    public virtual void ZoomFit( 
       IList<Entity> entList,
       bool selectedOnly,
       int margin
    )

    Parameters

    entList
    The list of entities to fit
    selectedOnly
    If true, fits only selected entities.
    margin
    Pixels margin from the border
    See Also