<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ![](https://box.kancloud.cn/a3ba36b9d10c9f4cd0031279c00d68e0_795x1124.png) ``` <?php //============================================================+ // File name : example_002.php // Begin : 2008-03-04 // Last Update : 2013-05-14 // // Description : 示例002用于TCPDF類 // 刪除頁眉和頁腳 // // Author: Nicola Asuni // // (c) Copyright: // Nicola Asuni // Tecnick.com LTD // www.tecnick.com // info@tecnick.com //============================================================+ /** * 使用TCPDF創建示例PDF測試文檔 * @package com.tecnick.tcpdf * @abstract TCPDF - Example: 刪除頁眉和頁腳 * @author Nicola Asuni * @since 2008-03-04 */ // 包括主TCPDF庫(搜索安裝路徑) require_once('tcpdf_include.php'); // 創建新的PDF文檔 $pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false); // 設置文檔信息 $pdf->SetCreator(PDF_CREATOR); $pdf->SetAuthor('Nicola Asuni'); $pdf->SetTitle('TCPDF Example 002'); $pdf->SetSubject('TCPDF Tutorial'); $pdf->SetKeywords('TCPDF, PDF, example, test, guide'); // 刪除默認頁眉/頁腳 $pdf->setPrintHeader(false); $pdf->setPrintFooter(false); // 設置默認的單間距字體 $pdf->SetDefaultMonospacedFont(PDF_FONT_MONOSPACED); // 設定邊距 $pdf->SetMargins(PDF_MARGIN_LEFT, PDF_MARGIN_TOP, PDF_MARGIN_RIGHT); // 設置自動分頁 $pdf->SetAutoPageBreak(TRUE, PDF_MARGIN_BOTTOM); // 設定圖像尺度因子 $pdf->setImageScale(PDF_IMAGE_SCALE_RATIO); // 設置一些依賴于語言的字符串(可選) if (@file_exists(dirname(__FILE__).'/lang/eng.php')) { require_once(dirname(__FILE__).'/lang/eng.php'); $pdf->setLanguageArray($l); } // --------------------------------------------------------- // 設置字體 $pdf->SetFont('times', 'BI', 20); // 添加一頁 $pdf->AddPage(); // 設置要打印的文本 $txt = <<<EOD TCPDF示例002 使用setPrintHeader()和setPrintFount()方法禁用默認頁眉和頁腳。 EOD; // 使用write()打印一個文本塊 $pdf->Write(0, $txt, '', 0, 'C', true, 0, false, false, 0); // --------------------------------------------------------- //關閉和輸出PDF文檔 $pdf->Output('example_002.pdf', 'I'); //============================================================+ // END OF FILE //============================================================+ ```
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看