hello experts,
when i use the follow code to print the pdf document Online Assessment 1 RM.pdf (1.2 MB)
, the page number disappear image.png (103.6 KB)
, how to set the Pdfviewer print to fit the page content.
PdfViewer viewer = new PdfViewer();
viewer.BindPdf(doc);
//viewer.AutoResize = true;
viewer.PrintPageDialog = true;
viewer.PrintDocumentWithSettings(printerSettings);
viewer.Close();
when i invoke the viewer.AutoResize = true, the page content resize and the page number also display, but the pdf layout is different with original, look like image.png (111.6 KB)
so, whether there are some API to set the pdf content fit the paper size when print not auto resize or background.
Look forward your reply, thks,