CreateWordProcessingDocument Method
Creates a new word-processing document.
Syntax
'Declaration
Sub CreateWordProcessingDocument( _
ByVal As String, _
ByVal As String, _
ByVal As String _
)
'Usage
Dim instance As IOfficeTools
Dim text As String
Dim template As String
Dim bookmark As String
instance.CreateWordProcessingDocument(text, template, bookmark)
void CreateWordProcessingDocument(
string ,
string ,
string
)
Parameters
- text
- The text to insert in the document. If null (or in Visual Basic, Nothing) is passed in, a textual representation of the current host screen is inserted.
- template
- A template to use when creating the new document. If null, invalid, or not found (or in Visual Basic, Nothing), no template is used.
- bookmark
- A location in the templated document to insert the text. If invalid, null, or not specified (or in Visual Basic, Nothing), text is inserted at the beginning of the document.
See Also