Board index » cppbuilder » Printing of bitmap images in Windows98
Flemming Knudse
![]() CBuilder Developer |
Fri, 05 Mar 2004 22:14:17 GMT
Printing of bitmap images in Windows98
hello ...
I have a problem printing bitmaps and the problem only exists in Windows98 When I print a bitmap the result is a bitmap with a pattern of boxes I do this : Graphics::TBitmap *bmp = new Graphics::TBitmap; Printer()->BeginDoc(); rect = TRect( (float)(x)*1000+100, Printer()->Canvas->Pen->Color = clBlack; Printer()->EndDoc(); I suspect the scaling in the StretchDraw-method to cause this problem - but I use Borland C++Builder4 with the two service packs installed. Any help is appreciated! Flemming Knudsen, email : flemm...@mikrov.dk |