找回密码
 立即注册

QQ登录

只需一步,快速开始

astronomer654

银牌会员

5

主题

12

帖子

2549

积分

银牌会员

积分
2549

活字格认证

astronomer654
银牌会员   /  发表于:2013-1-20 19:46  /   查看:4923  /  回复:1
就是 第几页,共几页 的这种形式,每一页都需要有,请问要如何设置?

1 个回复

倒序浏览
ZenosZeng讲师达人认证 悬赏达人认证
超级版主   /  发表于:2013-1-21 11:57:00
沙发
回复 1楼astronomer654的帖子

请参考 Spread 8 帮助文档中关于 PrintHeader 和 PrintFooter 属性的使用介绍:
  1. ' Create a font as Arial, size 10, bold, no italics,
  2. ' underline, no strikethrough and save it as font #1
  3. font1 ="/fn""Arial""/fz""10""/fb1/fi0/fu1/fk0/fs1"
  4. ' Create a font as Times, size 20, no bold, italics, no
  5. ' underline, strikethrough and save it as font #2
  6. font2 ="/fn""Times""/fz""20""/fb0/fi1/fu0/fk1/fs2"
  7. ' Recall font configurations and set the header and footer text
  8. buf = font1 & font2 & "/f1This is font #1/n/f2This is font #2"
  9. fpSpread1.PrintFooter = buf
  10. fpSpread1.PrintHeader = buf

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