你需要设置CompressionScheme 属性,请尝试以下代码:
- DataDynamics.ActiveReports.Export.Tiff.TiffExport tiffExport = new DataDynamics.ActiveReports.Export.Tiff.TiffExport();
- tiffExport.Dither = true;
- tiffExport.CompressionScheme = DataDynamics.ActiveReports.Export.Tiff.CompressionScheme.Lzw;
- tiffExport.Export(rpt1.Document, "test.tiff");
复制代码 |