silov
V2EX  ›  PHP

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

  •  
  •   silov · Feb 15, 2017 · 2166 views
    This topic created in 3422 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   ·   5464 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 39ms · UTC 07:34 · PVG 15:34 · LAX 00:34 · JFK 03:34
    ♥ Do have faith in what you're doing.