Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot Namespace / ZoomSettings Class / ZoomSettings Constructor / ZoomSettings Constructor(MouseButton,Int32,Boolean,zoomStyleType,Boolean,Double,Color,perspectiveFitType,Boolean,Int32,Boolean)
Zoom mouse button and modifier key
Zoom by arrow keys step (in pixels)
False to disable view zoom
Zoom mode
Zoom by mouse wheel direction
Zoom speed
Color of the zoom window box
Zoom fit accuracy in perspective projection mode
Zoom fit mode for labels
Zoom fit margin
When true the border is drawn in XOR, otherwise it is drawn according to the BoxColor.

In This Topic
    ZoomSettings Constructor(MouseButton,Int32,Boolean,zoomStyleType,Boolean,Double,Color,perspectiveFitType,Boolean,Int32,Boolean)
    In This Topic
    Standard constructor.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal mouseButton As MouseButton, _
       ByVal keysStep As Integer, _
       ByVal enabled As Boolean, _
       ByVal mode As zoomStyleType, _
       ByVal reverse As Boolean, _
       ByVal speed As Double, _
       ByVal boxColor As Color, _
       ByVal perspectiveFitMode As Camera.perspectiveFitType, _
       ByVal fitLabels As Boolean, _
       ByVal fitMargin As Integer, _
       ByVal borderXOR As Boolean _
    )
    public ZoomSettings( 
       MouseButton mouseButton,
       int keysStep,
       bool enabled,
       zoomStyleType mode,
       bool reverse,
       double speed,
       Color boxColor,
       Camera.perspectiveFitType perspectiveFitMode,
       bool fitLabels,
       int fitMargin,
       bool borderXOR
    )

    Parameters

    mouseButton
    Zoom mouse button and modifier key
    keysStep
    Zoom by arrow keys step (in pixels)
    enabled
    False to disable view zoom
    mode
    Zoom mode
    reverse
    Zoom by mouse wheel direction
    speed
    Zoom speed
    boxColor
    Color of the zoom window box
    perspectiveFitMode
    Zoom fit accuracy in perspective projection mode
    fitLabels
    Zoom fit mode for labels
    fitMargin
    Zoom fit margin
    borderXOR
    When true the border is drawn in XOR, otherwise it is drawn according to the BoxColor.
    See Also