# Header

`Header()`

## Description

This method is used to render the page header. It is automatically called by AddPage() and should not be called directly by the application. The implementation in FPDF is empty, so you have to subclass it and override the method if you want a specific processing.

## Example

    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);
    }
    }

## See also

Footer().

Index