When I open a PDF file and print it, the thickness of the line appears strange.
- Code: Select all
PdfDocument pdf = new PdfDocument();
pdf.LoadFromFile(@"file.pdf");
pdf.PrintSettings.PrinterName = myPrinterName;
pdf.PrintSettings.Copies = (short)1;
pdf.Print();
pdf.Close();
The attached photo 'img1' is the original pdf file. Line thickness is not a problem here.
However, when I print this file, a problem occurs.
When I printed with the printer, I knew there was a problem.
When I printed with `Microsoft Print to PDF' for testing, the same problem occurred.
`img2` is a capture when printed to the `Microsoft Print to PDF` printer.
What could be the cause of this?.
And when printing as spire.pdf , are the printer settings such as margins the same as the settings specified directly on the printer device?.