Reflection .NET API
Attachmate.Reflection Assembly / Attachmate.Reflection.Productivity Namespace / IOfficeTools Interface / CreateWordProcessingDocumentWithGraphic Method
The path of the image to insert in the document. If null (or in Visual Basic, Nothing) is passed in, then a graphical representation of the current host screen is used.
The template for creating new documents. If null, invalid, or not found (or in Visual Basic, Nothing) no template is used.
The location in the template to insert a graphic. If null, invalid, or not specified (or in Visual Basic, Nothing), the graphic is inserted at the beginning of the document.


In This Topic
    CreateWordProcessingDocumentWithGraphic Method
    In This Topic
    Creates a new word-processing document with graphics.
    Syntax
    'Declaration
     
    
    Sub CreateWordProcessingDocumentWithGraphic( _
       ByVal path As String, _
       ByVal template As String, _
       ByVal bookmark As String _
    ) 
    'Usage
     
    
    Dim instance As IOfficeTools
    Dim path As String
    Dim template As String
    Dim bookmark As String
     
    instance.CreateWordProcessingDocumentWithGraphic(path, template, bookmark)
    void CreateWordProcessingDocumentWithGraphic( 
       string path,
       string template,
       string bookmark
    )

    Parameters

    path
    The path of the image to insert in the document. If null (or in Visual Basic, Nothing) is passed in, then a graphical representation of the current host screen is used.
    template
    The template for creating new documents. If null, invalid, or not found (or in Visual Basic, Nothing) no template is used.
    bookmark
    The location in the template to insert a graphic. If null, invalid, or not specified (or in Visual Basic, Nothing), the graphic is inserted at the beginning of the document.
    See Also