Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot Namespace / Viewport Class / ZoomFit Method / ZoomFit(IList<Entity>,Boolean,perspectiveFitType) Method
The list of entities to be fitted
If true, fits only selected entities.
Zoom fit accuracy in perspective projection mode

In This Topic
    ZoomFit(IList<Entity>,Boolean,perspectiveFitType) 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 perspectiveFitMode As Camera.perspectiveFitType _
    ) 
    public virtual void ZoomFit( 
       IList<Entity> entList,
       bool selectedOnly,
       Camera.perspectiveFitType perspectiveFitMode
    )

    Parameters

    entList
    The list of entities to be fitted
    selectedOnly
    If true, fits only selected entities.
    perspectiveFitMode
    Zoom fit accuracy in perspective projection mode
    See Also