找回密码
 立即注册

QQ登录

只需一步,快速开始

nangcat

注册会员

15

主题

38

帖子

137

积分

注册会员

积分
137

活字格认证

nangcat
注册会员   /  发表于:2013-11-30 17:49  /   查看:4224  /  回复:1
请教:spread 打印时,页面带有sheet1和网页地址:http://localhost/test.aspx字样,该如何隐藏?

1 个回复

倒序浏览
iceman
社区贡献组   /  发表于:2013-12-2 14:16:00
沙发
回复 1楼nangcat的帖子

如何避免打印 SheetName:

  1.         protected void FpSpread1_PrintSheet1(object sender, FarPoint.Web.Spread.PrintEventArgs e)
  2.         {
  3.             if (e.Header == true)
  4.             {
  5.                 e.Content = "";
  6.             }
  7.         }
复制代码


打印“网页地址”是 IE 自主行为,可以参考截图设置:

Untitled.png
回复 使用道具 举报
您需要登录后才可以回帖 登录 | 立即注册
返回顶部