How to identify it as a print in PDF format?
raymondcleroux1
Canada
How to identify it as a print in PDF format?
The report contains a field that tells me if the user wants to print the logo or not an invoice.
The following code gives me this:
GroupHeaderOnBeforePrint procedure (Sender: TfrxComponent);
begin
PictureLogo.Visible: <frxBDataset "SI_IMP_LOGO."> 'YES');
end
When printing a PDF, I want to always print logo.
The report contain a property that lets me know if it is an export to PDF?
The report contains a field that tells me if the user wants to print the logo or not an invoice.
The following code gives me this:
GroupHeaderOnBeforePrint procedure (Sender: TfrxComponent);
begin
PictureLogo.Visible: <frxBDataset "SI_IMP_LOGO."> 'YES');
end
When printing a PDF, I want to always print logo.
The report contain a property that lets me know if it is an export to PDF?
Comments
Modify frxExportPDF.pas and use
It would be good if fast report add the visibility types to the RTTI.