texttemplateconverter Template property
Return to Introduction  Previous page  Next page
Applies to
acTextTemplateConverter component.  

Declaration
property Template: TStringList;  

Description
The Template property can be used in 2 cases:  
1.To convert some text without using the Convert method (you can read the converted template, with required text instead of keywords-parameters, from TemplateOutput property).  
 
2.If you're using the acTextTemplateConverter as template for acHTMLViewer component. In this case you need to specify the source of HTML document to Template property and the keywords-parameters to Params property. The content of acHTMLViewer will be refreshed accordingly to all changes.  

See also
Params property;  
OnTemplateChanged event;  
acHTMLViewer component.