SVGSVGElement.CreateEvent
SVGSVGElement.CreateEvent method
Creates an Event
of a type supported by the implementation.
public Event CreateEvent(string eventType)
Parameter | Type | Description |
---|---|---|
eventType | String | The eventType parameter specifies the type of Event interface to be created.If the Event interface specified is supported by the implementation this method will return a newEvent of the interface type requested. If the Event is to be dispatched via the DispatchEvent method the appropriateInitEvent method must be called after creation in order to initialize the Event ’s values. |
Return Value
The newly created Event
Exceptions
exception | condition |
---|---|
DOMException | NOT_SUPPORTED_ERR: Raised if the implementation does not support the type of Event interface requested |
See Also
- class Event
- class SVGSVGElement
- namespace Aspose.Html.Dom.Svg
- assembly Aspose.HTML