如何在C#中模拟OFFICE WORD TABLE [英] How to simulate OFFICE WORD TABLE in C#

查看:107
本文介绍了如何在C#中模拟OFFICE WORD TABLE的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我如何模拟WORD TABLE的功能,可以任意分割和meger细胞,任何代码都可以帮助?谢谢大家

how can i simulate the function of WORD TABLE,that can split and meger cells arbitrarily,any code can help? thank you all

推荐答案

这个CodeProject文章中提供了一种很好的方法:您将使用的专业HTML渲染器 [ ^ ]。



控件是基于 RichTextBox ,允许您使用HTML作为数据源。而且,使用HTML,您几乎可以模拟所有内容。



-SA
One wonderful way of doing it is provided in this CodeProject article: A Professional HTML Renderer You Will Use[^].

The control is based on RichTextBox and allows you to use HTML as a data source. And, with HTML you can simulate almost everything.

—SA


谢谢Sergey,bu不是我想要的,就像这个图片,在那里,我可以捣碎和分裂任何单元格,我可以选择一个单元格来更新其属性,如字体,颜色等
thanks Sergey,bu is not what i want,it like this Picture,in that, i can meger and split any cell,and i can select one cell to update its property, like font、color and so on


感谢Lina99,我现在不想购买组件,欲望一个更好的解决方案,最重要的是拆分单元格
thanks for Lina99, i don''t want to buy a component at the moment, desire a better solution, The most important thing is split a cell


这篇关于如何在C#中模拟OFFICE WORD TABLE的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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