
(*
 Delphi Object and Component Reference
#{bmc bm9.BMP} Print example
void __fastcall TForm1::FormCreate(TObject *Sender)
{
// you may need to change this path to suit your environment
  char const *Path = "..\\OVERVIEW.RTF";
  RichEdit2->Lines->LoadFromFile(Path);
}
void __fastcall TForm1::Button1Click(TObject *Sender)
{
// The parameter string shows in the print queue under "Document   // name".
  RichEdit1->Print(Form1->Caption);
}
 
