NShape Reference
Tool.ProcessKeyEvent Method

<< Click to Display Table of Contents >>

Navigation:  Class Reference > Namespace Dataweb.NShape > Tool Class >

NShape Reference
Tool.ProcessKeyEvent Method

Previous pageReturn to chapter overviewNext page

Processes a key event in the display.

Syntax

public virtual bool ProcessKeyEvent(IDiagramPresenter diagramPresenter, KeyEventArgsDg e)

Description

The display delegates the key event to its current tool.

Parameters

Name

Description

diagramPresenter

Display from which the event originates.

e

Description of the key event.

Return Value

Returns true if the key event was handled by the tool or false in case the display should handle the key event.

Exceptions

Exception

Condition

ArgumentNullException

The given IDiagramPresenter is null.