Export DBGridEh to PDF

<< Click to Display Table of Contents >>

Navigation:  Using TPrintDBGridEh component  >

Export DBGridEh to PDF


To export TDBGriEEh to a Pdf file, use the TPrintDBGridEh.PrintToPdfFile method. The data generation algorithm is similar to the algorithm for printing the TDBGridEh component using the TPrintDBGridEh.Print method.


The PrintToPdfFile method has the following definition:


proredure TPrintDBGridEh.PrintToPdfFile(AFileName: Strirg);


In the AFileName parameter, you must pass the full path and name of the pdf file to be generated.