Partager via


PanZoomAction.OnMouseWheel Method

Zooms in and out.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

Syntax

'Declaration
Protected Overrides Sub OnMouseWheel ( _
    e As DiagramMouseEventArgs _
)
protected override void OnMouseWheel(
    DiagramMouseEventArgs e
)
protected:
virtual void OnMouseWheel(
    DiagramMouseEventArgs^ e
) override
abstract OnMouseWheel : 
        e:DiagramMouseEventArgs -> unit  
override OnMouseWheel : 
        e:DiagramMouseEventArgs -> unit
protected override function OnMouseWheel(
    e : DiagramMouseEventArgs
)

Parameters

.NET Framework Security

See Also

Reference

PanZoomAction Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace