Below is the code that we are using for printing.
- Code: Select all
Spire.Pdf.PdfDocument pdfDocument = new Spire.Pdf.PdfDocument();
pdfDocument.LoadFromFile(fileName);
pdfDocument.PageScaling = Spire.Pdf.PdfPrintPageScaling.ActualSize;
printDocument.Print();
Thank you.