Returns a target variable.
Function GetVar( name )
string name - name of the variable to look for.
object - target variable if it was found (See value variable for details.)
An exception is thrown in case of errors.
Dim TextConverter, Var
Set TextConverter = CreateObject( "ConverterX.ConverterX.1" )
TextConverter.OpenProject( "C:\data\Test.ConverterX" )
Set Var = TextConverter.GetVar( "MyVar" )
Var.value = 25
TextConverter.Convert()Â
TextConverter.SaveProject( "C:\data\Test.ConverterX" )