Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot Namespace / Viewport Class / ZoomFit Method / ZoomFit(Boolean,perspectiveFitType) Method
If true, fits only selected entities.
Zoom fit accuracy in perspective projection mode

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

    Parameters

    selectedOnly
    If true, fits only selected entities.
    perspectiveFitMode
    Zoom fit accuracy in perspective projection mode
    See Also