We are generating PDF files in our application and expect user open the pdf file in any PDF reader (like adobe) and print it. As the file will have bar codes which are going to scanned we want to set the default Page Sizing & Handling print option as “Actual size” (please refer Attached screenshot).
I tried
1. PdfContentEditor
editor.ChangeViewerPreference(ViewerPreference.CenterWindow);
2.PdfViewer
viewer.AutoResize = false;
3. DocumentInfo
inDoc.PageMode = Aspose.Pdf.DOM.PageMode.UseNone;
none of this seems to be working.
Appreciate your help in this matter