silov
V2EX  ›  PHP

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

  •  
  •   silov · Feb 15, 2017 · 2136 views
    This topic created in 3407 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   ·   5799 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 02:31 · PVG 10:31 · LAX 19:31 · JFK 22:31
    ♥ Do have faith in what you're doing.