Click or drag to resize

IDocumentCreateKeyPressEvent Method

Creates and returns a new keyPressIKeyEvent object with the given
parameters
.

Namespace:  DotNetBrowser.Dom
Assembly:  DotNetBrowser (in DotNetBrowser.dll) Version: 2.22.1
Syntax
C#
IKeyEvent CreateKeyPressEvent(
	KeyEventParameters parameters
)

Parameters

parameters
Type: DotNetBrowser.Dom.EventsKeyEventParameters
a KeyEventParametersobject representing key event properties. Cannot be null.

Return Value

Type: IKeyEvent
the new IKeyEvent object.
Exceptions
ExceptionCondition
ArgumentExceptionwhen parameters value is null.
See Also