texttemplateconverter ConvertStrings method
Return to Introduction  Previous page  Next page
Applies to
TextTemplateConverter component.  

Declaration
procedure ConvertStrings(Strings: TStrings);  

Description
The ConvertStrings method is the same as Convert, but translates the string lists.  
 
It checks the template string specified in Value parameter, found in that string all the %keywords% specified in Name property of Params collection, replaces the %keywords% with the text specified in Value property of Params.  
 
After calling the ConvertStrings method, the Strings parameter will contain translated text, where all keywords replaced with their actual values.  

Example
ConvertStrings(Memo1.Lines);  

See also
Params property;  
Convert and ConvertStream methods.  
sIU/QH/K+!