博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2012年8月2日

摘要: public void MakeThumbnail(string imgPath_old, int width, int height) { System.Drawing.Image img = System.Drawing.Image.FromStream(new System.IO.MemoryStream(System.IO.File.ReadAllBytes(imgPath_old))); int towidth = width; int toheight = height; int x =... 阅读全文

posted @ 2012-08-02 15:35 路一直在 阅读(241) 评论(0) 推荐(0)

2011年8月26日

摘要: 原文出处:http://www.cnblogs.com/panshenglu/archive/2009/09/21/1571258.html 原文作者:六六 在WEB系统中,打印的确是个烦人的问题。要么自己开发打印控件,如果项目时间紧,肯定来不及。要么购买成熟的打印控件,如果是大项目可以考虑,但如果项目只有几K到1、2W之间,这就麻烦了。前段时间有机会接触了一下WEB打印。在博客园、CSDN上找了老半天,终于,功夫不付有心人,终于找到了。现在就推荐给大家分享。1、 DLPrinterDLPrinter打印控件完全免费,界面大方、使用简单、但无签名,支持打印预览、直接打印,可设置页眉、页脚、页边 阅读全文

posted @ 2011-08-26 11:14 路一直在 阅读(158) 评论(0) 推荐(0)

2011年8月24日

摘要: Code39.csusing System;using System.Collections;using System.ComponentModel;using System.Drawing;using System.Data;namespace DGMERP.BLL{ public class Code39 { private Hashtable m_Code39 = new Hashtable(); private byte m_Magnify = 0; /// <summary> /// 放大倍数 /// ... 阅读全文

posted @ 2011-08-24 13:48 路一直在 阅读(495) 评论(0) 推荐(0)