摘要: /// <summary> /// 删除文件夹 /// </summary> /// <param name="strPath">文件夹路径</param> /// <returns></returns> public static bool DelectDir(string strPath) { 阅读全文
posted @ 2023-02-15 17:17 fulllove 阅读(25) 评论(0) 推荐(0) 编辑
摘要: 需先引用 itextsharp.dll //方法一 /// <summary> /// JPG转PDF /// </summary> /// <param name="jpgfile">图片路径</param> /// <param name="pdf">生成的PDF路径</param> /// < 阅读全文
posted @ 2023-02-15 17:14 fulllove 阅读(399) 评论(0) 推荐(0) 编辑
摘要: private void button1_Click(object sender, EventArgs e) { try { var base64 = this.richTextBox1.Text; base64 = base64.Replace("data:image/png;base64,", 阅读全文
posted @ 2023-02-15 17:10 fulllove 阅读(245) 评论(0) 推荐(0) 编辑