Units documentation

rppdfdriver.pas

Description

This unit implements the Adobe PDF format print driver. With the help of rppdffile, implements the interface IRpPrintDriver, it also contains some useful functions

Components and classes

Name Base class Description
TRpPdfDriver TInterfacedObject, IRpPrintDriver Implementation of the pdf print driver

Functions

Declaration Description
procedure SaveMetafileToPDF (metafile:TRpMetafileReport; filename:string; compressed:boolean); Save the metafile to a Adobe PDF file format file
procedure SaveMetafileToPDFStream (metafile:TRpMetafileReport; Stream:TStream; compressed:boolean); Same but to any stream
function PrintReportPDF (report:TRpReport;Caption:string;progress:boolean; allpages:boolean; frompage, topage, copies:integer; filename:string; compressed:boolean):Boolean; This function operates with a TRpReport component
function PrintReportPDFStream (report:TRpReport; Caption:string; progress:boolean; allpages:boolean; frompage, topage, copies:integer; Stream:TStream; compressed:boolean):Boolean; Same but to any stream