Pré. | Proc. |
EA_OnPostNewDiagram
EA_OnPostNewDiagram notifies Add-Ins that a new diagram has been created. It enables Add-Ins to modify the diagram upon creation.
Syntax
Function EA_OnPostNewDiagram (Repository As EA.Repository, Info As EA.EventProperties) As Boolean
The EA_OnPostNewDiagram function syntax contains these parameters.
Parameter |
Type |
See also |
---|---|---|
Repository |
EA.Repository Direction: IN Description: An EA.Repository object representing the currently open Enterprise Architect model. Poll its members to retrieve model data and user interface status information. |
Repository Class |
Info |
EA.EventProperties Direction: IN Description: Contains this EventProperty object for the new diagram:
|
EventProperties Class |
Return Value
Return True if the diagram has been updated during this notification. Return False otherwise.