Search found 2 matches

by jsilva
Thu Apr 21, 2022 10:23 am
Forum: AXWWriter and DOCXReadWrite
Topic: How can I insert a text with line breaks in a bookmark?
Replies: 2
Views: 700

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

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