trichview.support
Re: Printing an image uisng RvPrint |
Author |
Message |
Sergey Tkachenko |
Posted: 04/02/2003 13:22:29 StretchBlt may work, work incorrectly or not work at all, depending on printer. You need to use StretchDIBits. Example of using this function is in VCL source: Forms.pas, procedure TCustomForm.Print; > Hi I am printing an image after a page has been previewed > using RvPrint and using the event onPosprint (not sure spelling) > > Any way I am printing a bitmap onto the canvas using > > StretchBlt(FHandle, Dest.Left, Dest.Top, DstW, DstH, > Bitmap.Canvas.FHandle, Source.Left, Source.Top, SrcW, SrcH, > SrcCopy); > > Every other time I display the bitmap it is completely black then the next > time it > is fine. It is always displaying the same picture. > > Any Ideas? > > Mike > > > |
Powered by ABC Amber Outlook Express Converter