#1 Re: PDF Engine » SynPDF Font Color » 2015-10-02 03:02:37

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

Board footer

Powered by FluxBB