function TableDetail($objResult)
{
global $bk;
$this->SetFont('Tahoma', 'B', 9);//Set the Font type to Tahoma,Bold with size 12 Pt
$this->SetTextColor(0);//Set the Text Color
$this->SetFillColor($objResult['COLOR'][0], $objResult['COLOR'][1], $objResult['COLOR'][2]);//Fill the text with RGB Color
$this->SetLineWidth(0.2);//Set the Line Width to 1pt
$this->Cell(20, 6, iconv( 'UTF-8','cp874' ,$objResult['date']), 'LTRB', 0, 'C', true);
$this->Cell(20, 6, iconv( 'UTF-8','cp874' ,$objResult['Check_type']), 'LTRB', 0, 'C', true);
$this->Cell(30, 6, iconv( 'UTF-8','cp874' ,$objResult['Company']),'LTRB', 0, 'C', true);
$this->Cell(20, 6, iconv( 'UTF-8','cp874' ,$objResult['Name_bank']), 'LTRB', 0, 'C', true);
$this->Cell(30, 6, iconv( 'UTF-8','cp874' ,$objResult['Branch']), 'LTRB', 0, 'C', true);
แถวล่างที่ผมจะแทรก
$this->Cell(30,6,$this->Image('img\\'.$bk,$this->GetX()+1,$this->GetY()+1,4,4) .iconv( 'UTF-8','cp874' ,$objResult['Branch']),'LTRB', 0, 'C');
$this->Cell(30, 6, iconv( 'UTF-8','cp874' ,$objResult['No_check']), 'LTRB', 0, 'C', true);
$this->Cell(30, 6, iconv( 'UTF-8','cp874' ,$objResult['Pay']), 'LTRB', 0, 'C', true);
$this->Cell(25, 6, iconv( 'UTF-8','cp874' ,$objResult['Due_date']), 'LTRB', 0, 'C', true);
$this->Cell(25, 6, iconv( 'UTF-8','cp874' ,$objResult['Send_check']),'LTRB', 0, 'C', true);
$this->Cell(30, 6, iconv( 'UTF-8','cp874' ,$objResult['note']), 'LTRB', 1, 'C', true);
}
คือผมจะแสดงรูปใน pdf ครับ ค่ารูปเป็นตัวแปรมา ช่วยดูหน่อยครับ
Moderators: mindphp, ผู้ดูแลกระดาน
-
- PHP Newbie
- Posts: 1
- Joined: 02/02/2012 3:34 pm
- mindphp
- ผู้ดูแลระบบ MindPHP
- Posts: 26653
- Joined: 22/09/2008 6:18 pm
- Contact:
Re: คือผมจะแสดงรูปใน pdf ครับ ค่ารูปเป็นตัวแปรมา ช่วยดูหน่อยครับ
ใช้ library ตัวไหนครับ
ติดตาม VDO: http://www.youtube.com/c/MindphpVideoman
ติดตาม FB: https://www.facebook.com/pages/MindphpC ... 9517401606
หมวดแชร์ความรู้: https://www.mindphp.com/forums/viewforum.php?f=29
รับอบรม และพัฒนาระบบ: https://www.mindphp.com/forums/viewtopic.php?f=6&t=2042
ติดตาม FB: https://www.facebook.com/pages/MindphpC ... 9517401606
หมวดแชร์ความรู้: https://www.mindphp.com/forums/viewforum.php?f=29
รับอบรม และพัฒนาระบบ: https://www.mindphp.com/forums/viewtopic.php?f=6&t=2042
-
- Similar Topics
- Replies
- Views
- Last post
-
-
ช่วยดูหน่อยครับ ไปดึง output
by tonight1009 » 28/03/2016 2:36 am » in Programming - C/C++ & java & Python - 3 Replies
- 793 Views
-
Last post by tonight1009
28/03/2016 4:14 pm
-
-
-
ช้วยดูหน่อยครับ ติดต่อฐานข้อมูลไม่ได้ JAVA
by mario322 » 20/02/2012 1:15 pm » in Programming - C/C++ & java & Python - 1 Replies
- 2286 Views
-
Last post by zend_framework
01/03/2012 9:03 pm
-
-
-
ช่วยดูหน่อยครับ ใช้ dropdown ดึงข้อมูลจจาก database ไม่โชว์ค่ะ ต้องแก้ไขตรงไหนบ้างค่ะ
by supattra_su » 29/05/2018 4:54 am » in Programming - PHP - 3 Replies
- 992 Views
-
Last post by mindphp
29/05/2018 10:48 pm
-
-
-
กำลังคิดจะทำเว็บ ครับ ช่วย แนะนำ น้อย ครับ
by 7one001 » 30/07/2011 3:39 pm » in ปัญหาการใช้ phpBB3, SMF, Joomla, Wordpress, CMS, CRM - 2 Replies
- 1317 Views
-
Last post by 7one001
30/07/2011 4:12 pm
-
-
- 3 Replies
- 567 Views
-
Last post by tsukasaz
14/06/2019 5:36 pm
-
- 4 Replies
- 1972 Views
-
Last post by rukturna
28/01/2012 1:28 am
Who is online
Users browsing this forum: No registered users and 10 guests