Diagram for .NET / Getting Started / Integrating ThinWeb Diagram / Tools / Pan Tool
In This Topic
    Pan Tool
    In This Topic

    The pan tool allows the user to press the mouse and drag the currently visible area. In order to use the pan tool you must create an instance of the NPanTool object and add it to the control Tools collection:

    C#
    Copy Code

    NThinDiagramControl1.Controller.Tools.Add(new NPanTool());

    Visual Basic
    Copy Code

    NThinDiagramControl1.Controller.Tools.Add(new NPanTool())

     

     Related Examples

    Nevron Diagram\Web Forms\ThinWeb\Pan Tool
    Nevron Diagram\Mvc\Pan Tool