MS Word像RichTextBox中的电子表格 [英] MS Word like spreadsheet in RichTextBox

查看:129
本文介绍了MS Word像RichTextBox中的电子表格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,
我正在用C#开发Rich Text编辑器,我需要一件事来实现...

它是MS Word,例如网格或表格.

如何使Rich WordBox中的MS Word像网格一样?"

因此,我需要编写函数,然后创建MS Word,例如可调整大小和可移动的电子表格,并以整数作为输入的行和列数.

我需要用文本将其保存为RTF,这是RTF文本编辑器.

如果您不知道我要问的是什么,请单击此链接: http://i.imgur.com/xGxfb.png [^ ]

PS:在图像中,对无法识别的标签感到抱歉,它是捷克语:D

谢谢
VitekST

PS:请不要DataGridView,我需要使其与MS Word Grid完全相同.

[edit]可点击链接[/edit]

Hello,
I am making Rich text editor in C#, and i need one thing to implement...

It''s MS Word like grid or table.

"How to make MS Word like grid in RichTextBox?"

So, I need to write function, what creates MS Word like resizeable and moveable spreadsheet with number of rows and columns in integer as input.

And I need to save this contetnt as RTF with text, it''s RTF text editor.

If you don''t know what I am asking how to make, click on this link: http://i.imgur.com/xGxfb.png[^]

PS: In image, sorry for unrecognizable labels, It''s in Czech language :D

Thank you,
VitekST

PS: No DataGridView please, I need to make it exactly same as MS Word Grid.

[edit]clickable link[/edit]

推荐答案

那不是电子表格,而是表格或表格.看看 DataGridView [
That''s not a spreadsheet, it''s a table or grid. Take a look at the DataGridView[^] class.


这篇关于MS Word像RichTextBox中的电子表格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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