NPOI2.2.0.0实例详解(十一)—向EXCEL插入图片
摘要:本文来自 天水宇 的CSDN 博客 ,全文地址请点击:https://blog.csdn.net/xxs77ch/article/details/50553857?utm_source=copy using System; using System.Collections.Generic; usin
阅读全文
posted @
2018-09-29 08:37
qqhfeng16
阅读(347)
推荐(0) 编辑
NPOI操作word文档1
摘要:1.首先进行XWPFDocument类的实例化,该类的实例对应一个word文档 XWPFDocument MyDoc = new XWPFDocument(); 2.设置页面的大小 CT_SectPr m_SectPr = new CT_SectPr(); //实例一个尺寸类的实例 m_SectPr
阅读全文
posted @
2018-09-13 17:02
qqhfeng16
阅读(363)
推荐(0) 编辑
C# 生成word文档(NPOI)
摘要:using NPOI.XWPF.UserModel XWPFDocument doc = new XWPFDocument(); //创建新的word文档 XWPFParagraph p1 = doc.CreateParagraph(); //向新文档中添加段落 p1.SetAlignment(Pa
阅读全文
posted @
2018-09-13 17:00
qqhfeng16
阅读(564)
推荐(0) 编辑