Share

StyleEvents.OnDelete Event

Parent Object: StyleEvents

Description

Event that is fired whenever an object within this events set is deleted in a document.

Remarks

Style Events are currently under development and are not supported. They are provided as-is and may be used at your own risk.

Syntax

StyleEvents.OnDelete( DocumentObject As Document, Style As Object, BeforeOrAfter As EventTimingEnum, Context As NameValueMap, HandlingCode As HandlingCodeEnum )

Parameters

Name Type Description
DocumentObject Document Input Document object that indicates the document in which the change occurred.
Style Object Object that was just deleted.
BeforeOrAfter EventTimingEnum Input EventTimingEnum indicating if the event is being fired before (kBefore) or after (kAfter) the entity is deleted.
Context NameValueMap Input NameValueMap object that can be used to determine the context of why the event fired.
HandlingCode HandlingCodeEnum Output HandlingCodeEnum that indicates how you are handling the event. The value of this argument is currently ignored for this event.

Version

Introduced in version 11

Was this information helpful?