I created rtf file with hyperlink in MS Word and loaded it into RichTextBox. Hyperlink in RichTextBox does not work. Are RichTextBox and MS Word use different rtf code? How can I create hyperlink with my parameters (to use the hyperlink without URL) in RichTextBox?
Displayed text looks like:
Some start text. Here must be hyperlink: Link_Text. And here text after hyperlink. Some end text.
Rtf text:
{\rtf1\ansi\ansicpg1251\deff0\deflang1058\deflangfe1058\deftab708{\fonttbl{\f0\fswiss\fprq2\fcharset204 Calibri;}{\f1\fswiss\fprq2\fcharset0 Calibri;}} {\colortbl ;\red0\green0\blue255;} {*\generator Msftedit 5.41.21.2509;}\viewkind4\uc1\pard\nowidctlpar\f0\fs22 Some start text.\par \pard Here must be hyperlink: {\field{*\fldinst{HYPERLINK "address"}}{\fldrslt{\cf1\ul Link_Text}}}\cf0\ulnone\f0\fs22 . And here text after hyperlink.\par Some end text\lang1033\f1 .\lang1058\f0\par }