Solved

rave , print bitmap from  ttable (Blob)

Posted on 2011-03-15
4
754 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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Delphi XE2 application frozen on Windows 10 10 312
Dev Express grid collapse 2 45
Firemonkey DbLookupComboBox equivalent ? 2 48
Delphi: making a BW image transparent 10 40
This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
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…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

809 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