When scaling a page to fit the paper, the aspect ratio is not maintained, causing distortion in the printed page. Is there any way to fix this?
Thanks
var doc = new PdfDocument();
var ps = new PrinterSettings();
doc.LoadFromFile(pdfPath);
ps.PrinterName = PrintSettings.PrinterName;
ps.DefaultPageSettings.PaperSize = PrintSettings.PaperSize;
ps.DefaultPageSettings.Color = PrintSettings.IsColor;
doc.PrintDocument.PrinterSettings = ps;
doc.PageScaling = PdfPrintPageScaling.FitSize;
doc.PrintDocument.Print();