SetInputFile()

Description

Sets an input file to convert.

Syntax

Function SetInputFile( path )

Parameters

string path  - a file path to an input file location

Return value

none

An error will cause this to throw an exception.

Example

Dim TextConverter

Set TextConverter = CreateObject( "ConverterX.ConverterX.1" )

TextConverter.OpenProject( "C:\data\Test.ConverterX" )

TextConverter.SetInputFile( "C:\data\input.txt" )

TextConverter.Convert() 

TextConverter.SaveProject( "C:\data\Test.ConverterX" )

See also

API Methods and Properties