Solved

rave , print bitmap from  ttable (Blob)

Posted on 2011-03-15
4
762 Views
Last Modified: 2012-05-11

what solution for that problem ?
0
Comment
Question by:BdLm
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 19

Assisted Solution

by:Thommy
Thommy earned 125 total points
ID: 35142040
Must go somehow like that:

bmp := TBitmap.Create;
bmp.LoadFromStream(YourTable.CreateBlobStream(YourTable.FieldByName('BitmapColName'),bmRead));
Image.Picture.Assign(bmp);

RvNDRWriter1.PrintBitmap( 1.0, 1.0, 2.0, 2.0, bmp);


Printing image in Rave Reports
http://stackoverflow.com/questions/1788144/printing-image-in-rave-reports



0
 
LVL 24

Accepted Solution

by:
jimyX earned 125 total points
ID: 35142142
Here is a complete Demo for showing how to print BitMap from TTable:
http://www.nevrona.com/files/rpfish.zip
uses RpDBUtil, RPBase;
...
var
  Bitmap : TBitmap;
begin
...
        Bitmap := TBitmap.Create;
        try
          GraphicFieldToBitmap(Table1Graphic, Bitmap);
          PrintBitmapRect(XPos,YPos,XPos + TabWidth(0),
           YPos + TabWidth(0),Bitmap);
        finally
          Bitmap.Free;
        end;
...

Open in new window

0
 
LVL 8

Author Closing Comment

by:BdLm
ID: 35142733
thanks, did dot find the nevrona files with google :-(
0
 
LVL 24

Expert Comment

by:jimyX
ID: 35142946
What Nevrona files?
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

742 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question