質問 > 管理機能 > 納品書にメッセージを追加したい |
管理機能
フラット表示 | 前のトピック | 次のトピック |
投稿者 | スレッド |
---|---|
yukikaze |
投稿日時: 2011/9/9 17:33
対応状況: −−−
|
長老 ![]() ![]() 登録日: 2011/7/26 居住地: 投稿: 196 |
Re: 納品書にメッセージを追加したい 新米が言うのも何ですが…
----- ここから ----- function setEtcData() { $this->pdf->Cell(0, 10, '', 0, 1, 'C', 0, ''); $this->pdf->SetFont('SJIS', '', 9); $this->pdf->MultiCell(0, 6, $this->lfConvSjis("< 備 考 >"), 'T', 2, 'L', 0, ''); //備考 $this->pdf->Ln(); $this->pdf->SetFont('SJIS', '', 8); $this->pdf->MultiCell(0, 4, $this->lfConvSjis($this->arrData['etc1']."\n".$this->arrData['etc2']."\n".$this->arrData['etc3']), '', 2, 'L', 0, ''); //備考 //メッセージ $this->pdf->Cell(0, 15, '', 0, 1, 'C', 0, ''); $this->pdf->SetFont('SJIS', '', 9); $this->pdf->MultiCell(0, 6, $this->sjis_conv("< メッセージ >"), '', 2, 'L', 0, ''); $this->pdf->Ln(); $this->pdf->SetFont('SJIS', '', 8); $this->pdf->MultiCell(0, 4, $this->sjis_conv($this->arrDisp['message']), '', 2, 'L', 0, ''); } ----- ここまで ----- こんな感じで。 Cellの引数2個目がY軸の位置になります。 |
フラット表示 | 前のトピック | 次のトピック |
題名 | 投稿者 | 日時 |
---|---|---|
![]() |
angie | 2011/9/7 19:05 |
» ![]() |
yukikaze | 2011/9/9 17:33 |
![](images/pixel.gif)