InfoConnect for Unisys
Attachmate.Reflection.Productivity Namespace / IOfficeTools Interface / CreateWordProcessingDocument Method
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.
A template to use when creating the new document. If null, invalid, or not found (or in Visual Basic, Nothing), no template is used.
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.


In This Topic
    CreateWordProcessingDocument Method
    In This Topic
    Creates a new word-processing document.
    Syntax
    'Declaration
     
    
    Sub CreateWordProcessingDocument( _
       ByVal text As String, _
       ByVal template As String, _
       ByVal bookmark 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 text,
       string template,
       string bookmark
    )

    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