使用C#在开放式办公室XML中创建合并的单元格 [英] Creating merged cells in open office XML using C#

查看:85
本文介绍了使用C#在开放式办公室XML中创建合并的单元格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我必须在excel文件中实现单元格合并和行合并。在xls文件中,我们可以选择使用MergeAcreoos和单元格的Mergedown属性传递要合并的单元格数。如何使用openoffice xml以xlsx格式实现相同的功能。



我尝试过:



尝试并引用谷歌,但我的答案来了oit

I have to implement the cell merge and row merge in excel file. In xls file we have option to pass the count of cells to be merged using MergeAcreoos and Mergedown properties of cell. How can i implement the same in xlsx format using openoffice xml.

What I have tried:

Tried and referd google but i answer is came oit

推荐答案

Google为我工作:

如何:合并电子表格文档中的两个相邻单元格(Open XML SDK) [ ^ ]
Google worked for me:
How to: Merge two adjacent cells in a spreadsheet document (Open XML SDK)[^]


这篇关于使用C#在开放式办公室XML中创建合并的单元格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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