Solved

rave , print bitmap from  ttable (Blob)

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

what solution for that problem ?
0
Comment
Question by:BdLm
  • 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

747 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now