Page 1 of 1

How can I insert a text with line breaks in a bookmark?

Posted: Thu Apr 21, 2022 10:23 am
by jsilva
Hello
I am using version 1.01.33
I am trying to give value to a bookmark with a text that contains line breaks

Bmk.PlainText := 'Line 1'+#10#13+'Line2';

The expected result is
Line 1
Line2

but i get
Line 1 Line2

What am I doing wrong?

Thanks in advance

Re: How can I insert a text with line breaks in a bookmark?

Posted: Fri Apr 22, 2022 3:48 pm
by larsa
Hello

Use InsertFileText of the Paragraph the bookmark is in.

Re: How can I insert a text with line breaks in a bookmark?

Posted: Tue Apr 26, 2022 7:16 pm
by jsilva
Thanks for your reply.