CHMlib Logo Leading Translation Management System for Translation Agencies, Top Translation Management Software for Freelance Translators, Time Tracking Software, Word Count, Character Count and Line Count Software, Computer Assisted Translation Tool for Easy Word Count, Clipboard Character Count Software, User-Friendly Translation Memory Software, Terminology Management Software, Terminology Management Server, Microsoft Glossary Software, Dictionary of Acronyms, Social Network for Translators and Translation Agencies, Acronyms and Abbreviations Search Engine, Russian Translation Lab, Ukrainian Translation Lab.
You are reading help file online using chmlib.com
CrisisHelper - First Aid in Tough Times of World Economic Crisis


_bm0 Rave Reports Developer Guide

Render to PDF with NO Setup .

Top  Previous  Next

QUESTION:

How do I go directly to a PDF file without displaying the setup dialog box?

 

SOLUTION:

Starting with Rave 4, you have the ability to save reports in a PDF file. To accomplish this without any user intervention via the setup dialog, drop a RvRenderPDF component on your form along with your RvSystem component. Make sure the RvRenderPDF "Active" property is set to true. Then execute the following code in your Button / Menu OnClick event:

 

Delphi Example:

procedure TForm1.Button1Click(Sender: TObject);

begin

RvSystem1.DefaultDest := rdFile;

RvSystem1.DoNativeOutput := false;

RvSystem1.RenderObject := RvRenderPDF1;

RvSystem1.OutputFileName := 'test1.pdf';

RvSystem1.SystemSetups := RvSystem1.SystemSetups - [ssAllowSetup];

RvSystem1.Execute;

end;

 

C++Builder Example

void __fastcall TForm1::Button1Click(TObject *Sender)

{

RvSystem1->DefaultDest = rdFile;

RvSystem1->DoNativeOutput = false;

RvSystem1->RenderObject = RvRenderPDF1;

RvSystem1->OutputFileName = "test.pdf";

RvSystem1->SystemSetups = RvSystem1->SystemSetups >> ssAllowSetup;

RvSystem1->Execute();

}

 



You are reading help file online using chmlib.com

If you want your help file to be removed or added please send e-mail to chmlibcom@gmail.com