?
Solved

Rave report - render to pdf

Posted on 2011-03-19
2
Medium Priority
?
2,559 Views
Last Modified: 2012-05-11
i already got many help doing a rave report -  code based report -

  -       http://www.experts-exchange.com/Programming/Languages/Pascal/Delphi/Q_26887858.html?cid=239#a35148858
  -       http://www.experts-exchange.com/Programming/Languages/Pascal/Delphi/Q_26854889.html
  -       http://www.experts-exchange.com/Programming/Languages/Pascal/Delphi/Q_26887858.html

now how should I a function to render the report to *.pdf

found

http://www.experts-exchange.com/Programming/Languages/Pascal/Delphi/Q_22457720.html   but not sure how to port to my problem

(do not have a  rave report file , ....  )
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 Comments
 
LVL 24

Accepted Solution

by:
jimyX earned 1000 total points
ID: 35171004
Use TRvRenderPDF:
procedure TForm1.Button1Click(Sender: TObject);
begin
  RvSystem1.Generate;
  RvRenderPDF1.PrintRender(RvSystem1.Stream,'c:\test.pdf');
end;

Open in new window


And if you do not want a fixed path, then use SaveDialog to have an option of selecting where to save the pdf file.
procedure TForm1.Button1Click(Sender: TObject);
begin
  RvSystem1.Generate;
  SaveDialog1.Filter := 'PDF Files|*.PDF';
  if SaveDialog1.Execute then
    RvRenderPDF1.PrintRender(RvSystem1.Stream,SaveDialog1.FileName);
end;

Open in new window

0
 
LVL 8

Author Closing Comment

by:BdLm
ID: 35176698
fine !!!
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

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…
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…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Suggested Courses
Course of the Month8 days, 20 hours left to enroll

765 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