Description
Passes a document from WordApplication to WordTemplate.
C#
vb.net
Parameters
aApp
The instance ofWordApplication
that was used to create the document.
aDoc
A Document object representing the Word file created with WordApplication.Remarks
You can useWordApplication
to create a document with merge fields (a template) and pass the file to WordTemplate
to populate the merge fields.
Examples
C#
vb.net