Header
Header()
¹öÀü
1.0
¼³¸í
ÀÌ ¸Þ¼Òµå¸¦ Çì´õ¸¦ ¸¸µé¶§ »ç¿ëÇÕ´Ï´Ù. AddPage() ¿¡ ÀÇÇØ ÀÚµ¿À¸·Î È£ÃâµÇ¹Ç·Î
ÇÁ·Î±×·¥³»¿¡¼ ÀϺη¯ È£ÃâÇÒ ÇÊ¿ä´Â ¾ø½À´Ï´Ù. FPDF ³»¿¡´Â ±¸ÇöµÇÁö ¾ÊÀºÃ¤ Á¸ÀçÇϹǷÎ
º°µµÀÇ Ã³¸®¸¦ ¿øÇÑ´Ù¸é ¼ºêŬ·¡½º¸¦ ±¸ÇöÇØ¼ ¸Þ¼Òµå¸¦ ¿À¹ö¶óÀ̵å ÇØ¾ßÇÕ´Ï´Ù.
¿¹Á¦
class PDF extends FPDF
{
function Header()
{
//Select Arial bold 15
$this->SetFont('Arial','B',15);
//Move to the right
$this->Cell(80);
//Framed title
$this->Cell(30,10,'Title',1,0,'C');
//Line break
$this->Ln(20);
}
}
Âü°í
Footer().