You are reading help file online using chmlib.com
|
Rave Reports Developer Guide Render NDR to Preview |
Top Previous Next |
QUESTION: I have previously saved NDR files and I want to preview them again. How would I do that?
SOLUTION: The following code starts with having a RvSystem component on your form named RvSystem1.
Be advised that both "DoNativeOutput" and "RenderObject" are not required and need not be set.
Delphi: Procedure TForm1.Button1Click(Sender: TObject); Begin RvSystem1.DefaultDest := rdPreview; RvSystem1.SystemFiler.FileName := 'Test.NDR'; // RvSystem1.SystemSetups := RvSystem1.SystemSetups - [ssAllowSetup]; RvSystem1.Execute; ShowMessage('Preview created'); End;
C++Builder: void __fastcall TForm1::Button1Click(TObject *Sender) { RvSystem1->DefaultDest = rdPreview; RvSystem1->SystemFiler->FileName = "Test.NDR"; // RvSystem1->SystemSetups = RvSystem1->SystemSetups - [ssAllowSetup]; RvSystem1->Execute; ShowMessage("Preview created"); } |
You are reading help file online using chmlib.com
|