Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot Namespace / ViewportLayout Class / ZoomFit Method / ZoomFit(Boolean,Int32) Method
If true, fits only selected entities.
Pixels margin from the border

In This Topic
    ZoomFit(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 selectedOnly As Boolean, _
       ByVal margin As Integer _
    ) 
    public virtual void ZoomFit( 
       bool selectedOnly,
       int margin
    )

    Parameters

    selectedOnly
    If true, fits only selected entities.
    margin
    Pixels margin from the border
    See Also