卸下超文本链接 [英] Remove HyperLinks from text

查看:112
本文介绍了卸下超文本链接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要它的帮助,我敢肯定它的简单,但我不能弄明白。

I need help with it and i'm sure its simple but I cant figure it out.

在我的丰富的文本框我复制一个链接,我不希望它成为一个超链接。

In my rich text box I copy a link in and I dont want it to be a hyperlink.

那么,如何删除超链接?

So how do I remove the hyperlink?

推荐答案

这似乎你问在Windows窗体RichTextBox中的超链接。如果是这样,它只是DetectUrls属性设置为false的问题:

It seems you're asking about hyperlinks in the RichTextBox in Windows Forms. If so, it's simply a matter of setting the DetectUrls property to false:

richTextBox1.DetectUrls = false;

这篇关于卸下超文本链接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆