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

 找回密码
 注册
搜索
打印 上一主题 下一主题

C# Excel 2007将签名图片添加到页脚-Insert Signature Image in Footer

[复制链接]
跳转到指定楼层
1#
发表于 2011-1-14 09:02:40 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
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";
复制代码

手机版|大马资讯论坛  

GMT+8, 2024-4-27 11:43 , Processed in 0.021575 second(s), 12 queries , File On.

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表