DocumentEvents2_Event.New 事件

定义

在创建基于模板的新文档时发生。Occurs when a new document based on the template is created.

public:
 event Microsoft::Office::Interop::Word::DocumentEvents2_NewEventHandler ^ New;
event Microsoft.Office.Interop.Word.DocumentEvents2_NewEventHandler New;
member this.New : Microsoft.Office.Interop.Word.DocumentEvents2_NewEventHandler 
Event New As DocumentEvents2_NewEventHandler 

事件类型

DocumentEvents2_NewEventHandler

注解

只有当它存储在模板中,将运行 新建 事件的过程。A procedure for the New event will run only if it is stored in a template.

适用于