GetVar()
Description
Description
Returns a target variable.
Syntax
Syntax
Function GetVar( name )
Parameters
Parameters
string name - name of the variable to look for.
Return value
Return value
object - target variable if it was found (See value variable for details.)
An exception is thrown in case of errors.
Examples
Examples
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" )
See also
See also