public function W2PDF::setHeaderData in Webform2PDF 7.3
Same name and namespace in other branches
- 6.2 webform2pdf.class.inc \W2PDF::setHeaderData()
- 6 webform2pdf.class.inc \W2PDF::setHeaderData()
- 7.4 webform2pdf.class.inc \W2PDF::setHeaderData()
Set header data.
Parameters
array $ln header left, right image logo:
array $lw header left, right image logo width in mm:
string $hs string to print on document header:
string $hsa align string to print on document header:
File
- ./
webform2pdf.class.inc, line 60
Class
Code
public function setHeaderData($ln = array(), $ls = array(), $hs = '', $hsa = '', $tc = array(
0,
0,
0,
), $lc = array(
0,
0,
0,
), $background = NULL) {
$this->header_logo = $ln;
$this->header_logo_size = $ls;
$this->header_string = $hs;
$this->header_string_align = $hsa;
$this->header_text_color = $tc;
$this->header_line_color = $lc;
$this->background = $background;
}