Enterprise Architect Add-in Framework Documentation
EA_OnPostCloseDiagram notifies Add-Ins that a diagram has been closed. Also look at EA_OnPostOpenDiagram.

Namespace: EAAddinFramework
Assembly: EAAddinFramework (in EAAddinFramework.dll) Version: 1.0.4064.9398

Syntax

C#
public virtual void EA_OnPostCloseDiagram(
	Repository Repository,
	int DiagramID
)
Visual Basic
Public Overridable Sub EA_OnPostCloseDiagram ( _
	Repository As Repository, _
	DiagramID As Integer _
)
Visual C++
public:
virtual void EA_OnPostCloseDiagram(
	Repository^ Repository, 
	int DiagramID
)

Parameters

Repository
Type: Repository
An EA.Repository object representing the currently open Enterprise Architect model. Poll its members to retrieve model data and user interface status information.
DiagramID
Type: System..::..Int32
Contains the Diagram ID of the diagram that was closed.

See Also