編輯

共用方式為


DocumentEvents2_Event.New Event

Definition

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 

Event Type

Remarks

A procedure for the New event will run only if it is stored in a template.

Applies to