Free Support Forum -

Paragraph /Document GetText returns HYPERLINK \l <link>


I'm having problems with html links added to a document builder - when I read the text back I get HYPERLINK \l inside the text. This is what I'm doing:


string someHtml = "test";


string text = builder.Document.GetText() -> returns "HYPERLINK \l "BLOCKED SCRIPT..." test "


I expect to get back just "test". Any ideas what can be wrong ? (the apose.words version is

Thanks, Paul


Thanks for your inquiry. Hyperlink is inserted into the document as field. That’s why you get this text. You can try using the following snippet.

string text = builder.Document.ToTxt();

Hope this helps.

Best regards.