V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
silov
V2EX  ›  PHP

tcpdf 生成 文档的时候,如何翻页

  •  
  •   silov · Feb 15, 2017 · 2068 views
    This topic created in 3359 days ago, the information mentioned may be changed or developed.
    如题

    有了解的么。。。
    2 replies    2017-02-15 18:05:09 +08:00
    predator
        1
    predator  
       Feb 15, 2017
    $TCPDF->AddPage();

    一般情况下是依靠 $TCPDF->SetAutoPageBreak(TRUE, n) 自动分页的
    silov
        2
    silov  
    OP
       Feb 15, 2017
    @predator 你说的是页面长度到一定情况自动分页吧?

    我说的是,比如文章比较长,到某个章节的时候,翻新一页开始打印下一章节的内容
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3593 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 11:01 · PVG 19:01 · LAX 04:01 · JFK 07:01
    ♥ Do have faith in what you're doing.