Has anyone noticed with AutoRotate on (PDF printing) issues with gradients and lower quality?
With this off gradients work and quality and visibly better. Of course rotation wrong.
With it on the gradients get cut and are stripy.
Project attached (original pptx, converted to PDF then printed. Also scan/photo of printed output) and nothing special in the code:
PdfViewer viewer = new PdfViewer(); viewer.Resolution = 1200; viewer.BindPdf("TestGradient.pdf"); //viewer.BindPdf("TestPowerpoint.pdf"); viewer.PrintPageDialog = true; //With this enabled the quality is lowered and then gradient does not print correctly //Also appears like the resolution is lowered viewer.AutoRotate = true; PrinterSettings ps = new PrinterSettings(); PrintDocument prtdoc = new PrintDocument(); ps.Copies = 1; PageSettings pgs = new PageSettings(); pgs.Margins = new System.Drawing.Printing.Margins(0, 0, 0, 0); viewer.PrintDocumentWithSettings(pgs, ps);
AsposePrinterTest.zip (3.8 MB)