PDFSettings.CompressionLevel := ppZLib.clNone;
Hi,
Following code worked with version 12.05, but in v14.02 this gives an error.
ppReport1.PDFSettings.CompressionLevel := ppZLib.clNone;
Error:
[DCC Error] FacturenUITAfdrukken2.pas(1745): E2010 Incompatible types: 'ppPDFSettings.TCompressionLevel'
and 'FacturenUITAfdrukken2.TCompressionLevel'
How can I correct this?
Following code worked with version 12.05, but in v14.02 this gives an error.
ppReport1.PDFSettings.CompressionLevel := ppZLib.clNone;
Error:
[DCC Error] FacturenUITAfdrukken2.pas(1745): E2010 Incompatible types: 'ppPDFSettings.TCompressionLevel'
and 'FacturenUITAfdrukken2.TCompressionLevel'
How can I correct this?
This discussion has been closed.
Comments
RB 14 for certain later versions of Delphi no longer uses ppZLib, but
just the built-in ZLib unit. Try setting CompressionLevel := ZLib.clNone;
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
That works just fine. Thank you very much.
Regards,
Stef Merlijn