Share via


ConversionJob.AddFile Method

Adds the specified input file to the set of conversion items in the conversion job, and places the result at the specified output file location.

Namespace:  Microsoft.Office.Word.Server.Conversions
Assembly:  Microsoft.Office.Word.Server (in Microsoft.Office.Word.Server.dll)

Syntax

'Declaration
Public Sub AddFile ( _
    inputFile As String, _
    outputFile As String _
)
'Usage
Dim instance As ConversionJob
Dim inputFile As String
Dim outputFile As String

instance.AddFile(inputFile, outputFile)
public void AddFile(
    string inputFile,
    string outputFile
)

Parameters

  • inputFile
    Type: System.String

    The URL for the file to convert.

    Important

    This URL must specify a location on the same SharePoint farm as the Word Automation Services application that performs the conversion job.

  • outputFile
    Type: System.String

    The URL for the conversion output location.

    Important

    This URL must specify a location on the same SharePoint farm as the Word Automation Services application that performs the conversion job.

See Also

Reference

ConversionJob Class

ConversionJob Members

Microsoft.Office.Word.Server.Conversions Namespace