You are here

public function PdfTemplate::setDefaultFontColor in Views PDF 6

Same name and namespace in other branches
  1. 7.3 views_pdf_template.php \PdfTemplate::setDefaultFontColor()
  2. 7 views_pdf_template.php \PdfTemplate::setDefaultFontColor()
  3. 7.2 views_pdf_template.php \PdfTemplate::setDefaultFontColor()

File

./views_pdf_template.php, line 133
PDF Class to generate PDFs with native PHP. This class based on FPDF and FPDI.

Class

PdfTemplate
The main class to generate the PDF.

Code

public function setDefaultFontColor($color) {
  $this->defaultFontColor = $color;
}