如何在TCDPF中添加脚注?

时间:2019-07-16 20:11:33

标签: php tcpdf

我正在使用TCPDF库,我想添加脚注。

如何从代码中做到这一点? 是否有“快捷方式”,还是应该只编辑Footer()函数?

1 个答案:

答案 0 :(得分:0)

您应该使用页脚功能,例如:

class PDF extends TCPDF {
    public function Footer() {
        $this->Cell(0, 10, 'Some footer text');
    }
}