Home End User
New Blog Posts: Merging Reports - Part 1 and Part 2

Problem print bitmap URGENT !!!

edited August 2008 in End User
Hello all

I use reportbuilder 7.02 yet. Some time, when print an image, the print
black box. Why ?

Best Regards,
Franco

Example of code in runtime:

if not q.FieldByName('MYIMAGE').IsNull then
begin
//
bmp := TBitmap.Create;
stMem := TMemoryStream.Create;
//
try
TBlobField(q.FieldByName('MYIMAGE'')).SaveToStream(stMem);
stMem.Position := 0;
bmp.LoadFromStream(stMem);
// The pMyImage is TppImage;
pMyImage.Picture := nil;
pMyImage.Picture.Assign(bmp);
finally
stMem.Free;
bmp.Free;
end;
//
end

Comments

  • edited August 2008
    just curious, does this work with a TBitmap?

    Ed Dressel
    Team DM

  • edited August 2008
    Yes, i use TBitmap in my blob.


  • edited August 2008
    Franco,

    This is a known issue that has been addressed for later releases. Try
    upgrading to RB 7.04 and see if that solves the issue. For upgrade
    instructions, send your serial number and purchasing email address to
    info@digital-metaphors.com.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.