Solved

rave , print bitmap from  ttable (Blob)

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

687 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