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 NDR to PDF .

Top  Previous  Next

QUESTION:

I have previously saved NDR files and I want to save them to PDF files. How would I do that?

 

SOLUTION:

The following code starts with having a TRvRenderPDF component on your form named RenderPDF.

 

Delphi:

procedure TForm1.Button1Click(Sender: TObject);

var

NDRStream: TMemoryStream;

begin

NDRStream := TMemoryStream.Create;

try

   NDRStream.LoadFromFile('test.ndr');

   RenderPDF.PrintRender(NDRStream, 'test.pdf');

finally

   NDRStream.Free;

end; { tryf }

ShowMessage('NDR Converted');

end;

 

C++Builder:

void __fastcall TForm1::Button1Click(TObject *Sender)

{

TMemoryStream* NDRStream;

NDRStream = new TMemoryStream;

try {

   NDRStream->LoadFromFile("test.ndr");

   RenderPDF->PrintRender(NDRStream, "test.pdf");

}// try

__finally {

   delete NDRStream;

}// __finally

ShowMessage("NDR Converted");

}



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