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

WinForms Assembly > devDept.Eyeshot Namespace > Viewport Class > ZoomFit Method : ZoomFit(IList<Entity>,Boolean,perspectiveFitType,Int32,Boolean) Method
The list of entities to be fitted
If true, fits only selected entities.
Zoom fit accuracy in perspective projection mode
Pixels margin from the border
If true, fits also the labels
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, _
   ByVal margin As Integer, _
   Optional ByVal fitLabels As Boolean _
) 
public virtual void ZoomFit( 
   IList<Entity> entList,
   bool selectedOnly,
   Camera.perspectiveFitType perspectiveFitMode,
   int margin,
   bool fitLabels
)

Parameters

entList
The list of entities to be fitted
selectedOnly
If true, fits only selected entities.
perspectiveFitMode
Zoom fit accuracy in perspective projection mode
margin
Pixels margin from the border
fitLabels
If true, fits also the labels
See Also

Reference

Viewport Class
Viewport Members
Overload List