大马资讯论坛 - 马来西亚中文资讯平台

标题: C# Excel 2007将签名图片添加到页脚-Insert Signature Image in Footer [打印本页]

作者: 资讯王    时间: 2011-1-14 09:02
标题: C# Excel 2007将签名图片添加到页脚-Insert Signature Image in Footer
C# Excel 2007将签名图片添加到页脚-Insert Signature Image in Footer
当你需要导出EXCEL又要添加签名在页脚,你就放图片在页脚不久搞定了吗,试试吧
To export excel with signature footer, add an image to solve your problem, try coding below
  1. Worksheet.PageSetup.CenterFooterPicture.Filename = System.Windows.Forms.Application.StartupPath + "\\Images\\abc.bmp";
  2. //Worksheet.PageSetup.CenterFooterPicture.Height = 30;//可有可无 Depend on you
  3. //Worksheet.PageSetup.CenterFooterPicture.Width = 400;//可有可无 Depend on you
  4. Worksheet.PageSetup.CenterFooter = "&G";
复制代码





欢迎光临 大马资讯论坛 - 马来西亚中文资讯平台 (http://freeinfo.com.my/) Powered by Discuz! X3.3