## IDocumentEvent interface

The DocumentEvent interface provides a mechanism by which the user can create an Event of a type supported by the implementation. It is expected that the DocumentEvent interface will be implemented on the same object which implements the Document interface in an implementation which supports the Event model.

```java
public interface IDocumentEvent
```

## Methods

| Name | Description |
| --- | --- |
| [createEvent](../../com.aspose.html.dom.events/idocumentevent/createevent/)(String) | The createEvent method is used in creating Events when it is either inconvenient or unnecessary for the user to create an Event themselves |

## Remarks

It is expected that the interface will be implemented on the same object which implements the interface in an implementation which supports the Event model.

### See Also

* package [com.aspose.html.dom.events](../../com.aspose.html.dom.events/)
* package [Aspose.HTML](../../)
