Location:
Search - richtextbox
Search list
Description: 最近弄一个可以编辑显示文本、图片、公式、表格、超链接等内容的东东,将其保存好数据库(DB4O),然后直接在内存中打开。最先想到的当然是dotNet的RichTextBox,但它对这些格式数据支持并不好,尤其是上下标。然后就是微软的Office Framer Control,没有什么问题,但是需要运行word进程,那玩意太庞大,尤其是在打开多个文档的时候占用内存过多。最后想到了wpf的Flowdocment,它虽然不直接支持公式,但在能直接将相关内容转换为图片形式,且不会改变显示样式。使用WPF的richTextBox可以直接将word编辑好的内容复制过来,然后保存。
同时文档保存形式也就讲究,应该保存为XamlPackage,这是一种压缩格式,把流文档的各种相关数据一同保存,因此很省事,不用关系连接或图片、多媒体的数据源问题。当然XamlPackage只保存Section节点。
在数据库中文档用byte[]表示,从数据库中打开文档时,可以使用byte[]实例化MemoryStream然后直接加载到相应的流文档显示控件中,但保存到数据库时却需要使用临时文件转储。相应的代码如下(C#):
Platform: |
Size: 39417 |
Author: hanunhua |
Hits:
Description: RichTextBox编译器
Platform: |
Size: 8130064 |
Author: chenwuzhi |
Hits:
Description: RichtextBox API SDK 通用的 RTB SDK API 声明 (2.0版本)
Platform: |
Size: 13688 |
Author: mqx |
Hits:
Description: RichTextBox 控件中多重撤销重做的源代码-RichTextBox control were withdrawn redo multiple source code
Platform: |
Size: 12721 |
Author: 音乐 |
Hits:
Description: 针对于plain text格式的文件(不支持word格式),行加密和解密的操作。也就是可以用文本编辑器打开的文件都可以进行加密操作。本软件开发环境是.net2005,语言使用C#。使用方法很简单:加密的过程:首先选择需要进行加密的文件,按下button[打开文件],文件内容会读入到靠上方的那个richtextbox中。然后点button[加密],加密之后的内容会显示在靠下方的那个richtextbox中,用户可以自己把加密的内容复制出来另外保存起来或者作其他的操作。解密的过程如下:把需要解密的文件读入,按下button[打开文件],又或者直接把文件内容复制到靠上方的richtextbox中,然后点button[解密],解密之后的内容会显示在靠下方的richtextbox中。
Platform: |
Size: 40987 |
Author: Adriano |
Hits:
Description: 打印richtextbox的解决方案 实际应用中,我们经常会遇到要打印文本框的情况,自行换行是一个必须解决的首要问题.-Print richtextbox solution in practical applications, we often encounter the text box to print the circumstances, the trip is for a need to address the primary issues.
Platform: |
Size: 1875 |
Author: yyy |
Hits:
Description: 一个简单的文本处理器.RichTextBox封装
Platform: |
Size: 160148 |
Author: Haruka |
Hits:
Description: Add picture to RichEdit
Platform: |
Size: 3072 |
Author: 侠义腾 |
Hits:
Description: 将彩色图片转换为灰度图片,一个很好的例子绝对值得收藏-Transfer color picture to gray picture, a excellent example which is really worth adding to your collection.
Platform: |
Size: 9216 |
Author: 马超 |
Hits:
Description: 一个用富文本框(RichText)制作的带有QQ字符表情和超链接以及字体颜色等功能聊天室示例。程序封装为一个控件,可以直接在程序中调用即可。
-with a rich text box (RichText) produced with the QQ character expressions and hyperlinks, and font colors and such functional chat rooms example. Packaging for a procedural controls, directly in the proceedings can be called.
Platform: |
Size: 158720 |
Author: 悠扬 |
Hits:
Description: 这是一个聊天用的richedit控件,用于实现聊天功能-This is a chat with the richedit control for the chat function
Platform: |
Size: 43008 |
Author: 邱中天 |
Hits:
Description: .NET写的支持图片的文本框,非常不错.-. NET written in the text box to support the picture, very good.
Platform: |
Size: 227328 |
Author: missk |
Hits:
Description:
Platform: |
Size: 121856 |
Author: djzhan |
Hits:
Description: 图形学作业,类似windows画图工具,可画简易几何图形,可任意拖动各层级图形-Graphics operations, similar to windows drawing tool to draw simple geometric shapes can be arbitrary at all levels drag graphics
Platform: |
Size: 76800 |
Author: 王元亮 |
Hits:
Description: 这是外国开源网站上的一个源码,它主要实现了一个texbox控件,但是它比textbox控件多了颜色的功能,虽然richtextbox也有颜色的功能,但是richtextbox占用的更多的资源-This is the foreign open-source Web site a source, it implements a major texbox control, but it more than the textbox controls the function of color, although there are color RichTextBox, but RichTextBox occupied more resources
Platform: |
Size: 133120 |
Author: wh |
Hits:
Description: 我在网上找到使用rft控件保存webbrowse文本 txtHtml是RichTextBox
txtHTML.Text = WebBrowser1.document.body.innerText
flag :rsftext 保存为txt文件,strtmp文件路径
txtHTML.saveFile strtmp, rtfText-I find the use of online control rft text webbrowse Save txtHtml is RichTextBoxtxtHTML.Text = WebBrowser1.document.body.innerText flag: rsftext save it as a txt file, strtmp file path txtHTML.saveFile strtmp, rtfText
Platform: |
Size: 7168 |
Author: 高晓斌 |
Hits:
Description: RichTextBox编译器 -RichTextBox compiler compiler RichTextBox
Platform: |
Size: 8129536 |
Author: |
Hits:
Description: 针对于plain text格式的文件(不支持word格式),行加密和解密的操作。也就是可以用文本编辑器打开的文件都可以进行加密操作。本软件开发环境是.net2005,语言使用C#。使用方法很简单:加密的过程:首先选择需要进行加密的文件,按下button[打开文件],文件内容会读入到靠上方的那个richtextbox中。然后点button[加密],加密之后的内容会显示在靠下方的那个richtextbox中,用户可以自己把加密的内容复制出来另外保存起来或者作其他的操作。解密的过程如下:把需要解密的文件读入,按下button[打开文件],又或者直接把文件内容复制到靠上方的richtextbox中,然后点button[解密],解密之后的内容会显示在靠下方的richtextbox中。-For in plain text format files (do not support the word format), the encryption and decryption operations.
Platform: |
Size: 101376 |
Author: Adriano |
Hits:
Description: 这个管理系统采用VC# + Access2003 + XML开发,扩展了TreeView控件,扩展RichTextBox控件,扩展了ListBox控件,功能还是比较大。应用软件也比较多,有利于学习参考!
-The management system used VC#+ Access2003+ XML development, expansion of the TreeView control, extended RichTextBox control, the expansion of the ListBox control, function is still relatively large. Application software is also more conducive study reference!
Platform: |
Size: 1071104 |
Author: skaler |
Hits:
Description: c#写的剪切板监控程序,能够实时监控系统的剪切板,然后再form中显示出来,其原理是重写form的wef,在不同的form中传递clipboard链,注意所以不能设置this.form1.showintaskbar=false;这样的话 就不能实现监控功能了-ClipboardMonitor writed in c#,a program which can see the clpboard changing in form whith a richtextbox,coution:donot set the form.showinttaskbar=false
Platform: |
Size: 14336 |
Author: max |
Hits: