Eyeshot 10 WinForms API Reference
ZoomFit(IList<Entity>,Boolean,perspectiveFitType) Method

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
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

Reference

Viewport Class
Viewport Members
Overload List