SetSourceRoot

Top  Previous  Next

TCustomTextTransformer > methods > SetSourceRoot

 

By SetSourceRoot and SetTargetRoot the parameters for the root directories of the source texts and target texts can be set.

 

procedure SetSourceRoot(xasSourceRoot : AnsiString );

 

Normally it isn't required to set these parameters and they weren't made to properties therefore. In the TextTransformer-IDE and in the command line tool these parameters are put, however, automatically and perhaps they can be used by certain projects. See:

 

http://www.texttransformer.com/tthelp/interpreter_sourcetarget.htm

 

The functions here shall ensure that such projects can be executed correctly also with the components.

 

If these parameters were put, it is possible to pass subdirectories in the TTextFileTransformercomponents components instead of absolute directories.

 
 



This page belongs to the TetraComponents Documentation

Home  Content  German