![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
文件格式转换
文章平均质量分 61
weixin_42800530
这个作者很懒,什么都没留下…
展开
-
C# pdf转换为图片格式
1.实现代码如下: 注意要下载一个动态库:O2S.Components.PDFRender4NET using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using PDF...原创 2018-11-15 15:23:39 · 825 阅读 · 8 评论 -
C# xps转txt方法
1.主要代码如下: 注意:使用命名空间System.Windows.Xps.Packaging 需要引用ReachFramework.dll动态库。 using System.Windows.Xps.Packaging; /// <summary> /// xps文件获取txt /// </summary> /// &...翻译 2018-11-06 09:59:27 · 1519 阅读 · 0 评论 -
C# Base64位二进制流转换为文本(此例为pdf)
1.二进制流转换 string sBase64Binary = ""; //二进制流 byte[] sPDFDecoded = Convert.FromBase64String(sBase64Binary); if (sBase64Binary.Length > 0) ...原创 2020-04-15 18:13:33 · 981 阅读 · 0 评论 -
Json序列化与反序列化
一.Json序列化 1.先定义一个类 using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace WebApplication1.Model { public class JsonClass { public string as_r...原创 2019-01-24 17:19:17 · 88 阅读 · 0 评论