![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C#
iZer_0
这个作者很懒,什么都没留下…
展开
-
C#使用System.IO.Compression 处理Zlib Deflate 格式
System.IO.Compression使用System.IO.Compression.DeflateStream进行压缩和解压时,DeflateStream 压缩后的数据开头比Zlib压缩的数据少两个字节,结尾比Zlib少四个字节所以以下解压的代码思路是在传入zlib格式的数据时把投两个字节和尾四个字节去掉以来匹配DeflateStream的格式,这种输出格式叫做 Raw Deflate 。压缩同理代码如下://zlib标准头78 01 - No C...原创 2021-07-03 20:49:07 · 1151 阅读 · 1 评论 -
c#使用spire 把word、excel、pdf、ppt转图片
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Windows.Forms;using Spire.Pdf;using Spire.Xls;using S.原创 2020-06-23 16:52:18 · 2255 阅读 · 0 评论 -
C#操作Excel数据读写/指定打印机打印
C#操作Excel数据的读写前情提要实例指定打印机打印附加:打印时预览配置数据的读写前情提要本文对于excel的操作使用的是Microsoft.Office.Interop.Excel这个库,所以添加引用后头部加入:using Excel = Microsoft.Office.Interop.Excel;实例1.新建Windows Application应用程序;2.在form中添加button控件.3.进入button点击事件因为对excel数据的操作基本就是文本和单选框的选择,所以原创 2020-06-05 11:17:48 · 3766 阅读 · 2 评论