Hello,
I am trying to use the text layer. But in my case I want to assign text to text layer when it is created as follows:
ieViewMain.LayersAdd(ielkText, Rect(50, 50, 300, 350));
with TIETextLayer(ieViewMain.CurrentLayer) do
begin
WordWrap := True;
Alignment := iejLeft;
AutoSize := True;
text := 'Lorem Ipsum' + #13 + 'Lorem Ipsum';
EnableFormatting := False;
TextControl(Sender);
end;
Here logically speaking the text should come in two lines.
I am saying this because when I assign this same line to a Label.caption it comes as expected.
How to solve this problem?
TIA
Yogi Yang