image color disappear when i print silently. I use latest Spire.pdf 3.9.431 and this is my code:
- Code: Select all
PdfDocument doc = new PdfDocument();
doc.LoadFromFile(path);
doc.PrintSettings.PrinterName = "PRINTER A3";
doc.PrintSettings.Copies = (short)2;
PaperSize paper = new PaperSize("A3", PdfPageSize.A3.Width, PdfPageSize.A3.Height);
paper.RawKind = (int)PaperKind.A3;
doc.PrintSettings.SelectSinglePageLayout(PdfSinglePageScalingMode.FitSize, true, 100f);
doc.Print();
For attachment there is the file that i use.
Thanks