init_time_event method

init_time_event

The initTimeEvent method is used to initialize the value of a TimeEvent created through the DocumentEvent interface. This method may only be called before the TimeEvent has been dispatched via the dispatchEvent method, though it may be called multiple times during that phase if necessary. If called multiple times, the final invocation takes precedence.

def init_time_event(self, type_arg, view_arg, detail_arg):
    ...
ParameterTypeDescription
type_argstrSpecifies the event type.
view_argaspose.svg.dom.views.IAbstractViewSpecifies the Event’s AbstractView.
detail_argintSpecifies the Event’s detail.

See Also