Eyeshot 10 WinForms API Reference
ZoomFit(IList<SelectedItem>,Int32,perspectiveFitType) Method

WinForms Assembly > devDept.Eyeshot Namespace > ViewportLayout Class > ZoomFit Method : ZoomFit(IList<SelectedItem>,Int32,perspectiveFitType) Method
The collection of entities to fit
Pixels margin from the border
Zoom fit accuracy in perspective projection mode
Fits the selected items.
Syntax
'Declaration
 
Public Overloads Overridable Sub ZoomFit( _
   ByVal items As IList(Of ViewportLayout.SelectedItem), _
   ByVal margin As Integer, _
   ByVal perspectiveFitMode As Camera.perspectiveFitType _
) 

Parameters

items
The collection of entities to fit
margin
Pixels margin from the border
perspectiveFitMode
Zoom fit accuracy in perspective projection mode
See Also

Reference

ViewportLayout Class
ViewportLayout Members
Overload List