I have a problem when drawing coloured text to a PDF document, which is being printed using the PDF Printer (using version 3.0.3.f).
I'm basically doing the following:
Code: Select all
using (Brush brush = new SolidBrush(Color.XYZ))
{
g.DrawString("Text", font, brush, normalizedRectangle, stringFormat);
}
However, the actual result is:
Can you please advise me how to fix this problem (the coloured bar instead of the coloured text)?
Thanks in advance,
Florian