texttemplateconverter Convert method
Return to Introduction  Previous page  Next page
Applies to
acTextTemplateConverter component.  

function Convert(const Value: String): String;  

The Convert method 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.  
Function returns the translated string, where all template keywords are replaced with their values.  

See also
Params property;  
ConvertStrings and ConvertStream methods.