Board index » delphi » Transparent text on Printer.Canvas??

Transparent text on Printer.Canvas??

How do I make the text font transparent??
i.e. let the text overlap when not enough space, instead of always the
later comer cover up old text.
 

Re:Transparent text on Printer.Canvas??


Quote
Anders LEE wrote:

> How do I make the text font transparent??
> i.e. let the text overlap when not enough space, instead of always the
> later comer cover up old text.

SetBkMode(Printer.Canvas, TRANSPARENT);
Printer.textOut(0, 0, 'Transparent text...');

I think it also works with:
Printer.Canvas.Brush.Style := bsClear;

--
J?rgen Aase
Oslo
Norway
ja...@c2i.net

Other Threads