Search code examples
c#ms-wordadd-inoffice-addins

Capture event when shape is inserted in Microsoft Word document


I am creating a document and need to execute an action after a shape was automatically inserted in the header of a document by another add-in. The event ContentControlAfterAdd of the Document object does not fire, when a shape is inserted. Is there any way, to capture insertion of a shape?


Solution

  • No, there is no such event. Shapes have nothing to do with Content Controls.