Hi,
(1) creating a RichText layer using:
ImageEnView1.LayersAdd('Double click', 40, clBlack, 'Arial', []);
TIETextLayer(ImageEnView1.CurrentLayer).EnableFormatting := True;
or
ImageEnView1.LayersAdd(ielkText);
TIETextLayer(ImageEnView1.CurrentLayer).RichText := 'Double click';
TIETextLayer(ImageEnView1.CurrentLayer).EnableFormatting := True;
then (2) manually editing the text, first using the enter key to get the two words on two lines and than formatting the text (e.g. color and/or size of the word "click" or text orientation of "Double click") and (3) saving it as PDF using:
ImageEnView1.IO.SaveToFilePDF(PDFFile);
the text in the PDF file is on two lines but doesn't have the formatting changes.
What am I missing?
Al