AntonE
2006-12-03 00:42:06 UTC
I'm trying to print text over an image but the text always have a white
block background.
How can I print the text with a transparent background?
D6.2, HP laserjet & PrimoPDF drivers
Printer.BeginDoc;
//Print full page image
Printer.Canvas.StretchDraw(Rect(0,0,Printer.PageWidth,Printer.PageHeight),Image.Picture.Graphic);
Printer.Canvas.TextFlags:=0
Printer.Canvas.TextOut(100,100,'I am not transparent');
Printer.EndDoc;
Thanks
AntonE
block background.
How can I print the text with a transparent background?
D6.2, HP laserjet & PrimoPDF drivers
Printer.BeginDoc;
//Print full page image
Printer.Canvas.StretchDraw(Rect(0,0,Printer.PageWidth,Printer.PageHeight),Image.Picture.Graphic);
Printer.Canvas.TextFlags:=0
Printer.Canvas.TextOut(100,100,'I am not transparent');
Printer.EndDoc;
Thanks
AntonE