#1 2013-02-22 13:33:10

Gunbatimi
Member
Registered: 2013-02-21
Posts: 1

SynPDF Font Color

Hi,

I've searched the forum but could not find a solution; how can I set the font color ?

Thanks in advance,

Gun Batimi

Offline

#2 2015-10-02 03:02:37

Niels
Member
Registered: 2015-10-02
Posts: 1

Re: SynPDF Font Color

It worked for me this way:

   ...
   PDFDocument.Canvas.SetRGBFillColor(clRed);
   PDFDocument.Canvas.SetFont('Calibri', 24.0, [fsBold]);
   PDFDocument.Canvas.TextOut(90, 145, 'Font Color Test');
   PDFDocument.Canvas.Stroke;

I know the answer comes years too late, but I just started using your great library, just registered and it will be helpful for new forum reader wink

Offline

#3 2015-10-02 06:37:38

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,225
Website

Re: SynPDF Font Color

Welcome on the forum!

And thanks for the feedback.
smile

Offline

Board footer

Powered by FluxBB