Elon
Elon

Reputation: 1

how to use setFillColor in fpdf

How to use setFillColor in FPDF?
I tried this, but it does not work:

$pdf->setFillColor(230,220,0);

Upvotes: 0

Views: 1162

Answers (1)

Kinshuk Lahiri
Kinshuk Lahiri

Reputation: 1500

It's SetFillColor. The S is capital. So, it should be $pdf->SetFillColor

Upvotes: 2

Related Questions