PXCPrinter PDFPrinter = null;
CPXCControlEx prnFactory = new CPXCControlEx();
PDFPrinter = prnFactory.get_Printer("", "PDF-XChange Standard V7", "<REG CODE>", "<DEV CODE>") as CPXCPrinter;
PDFPrinter.Option["Save.SaveType"] = "Save";
PDFPrinter.Option["Save.ShowSaveDialog"] = "No";
PDFPrinter.Option["Save.WhenExists"] = "Overwrite";
PDFPrinter.Option["Saver.ShowProgress"] = "false";
PDFPrinter.Option["Save.RunApp"] = "false";
//PDFPrinter.Option["Paper.LayoutType"] = 0;
//PDFPrinter.Option["General.Specification"] = -1;
PDFPrinter.Option["Paper.SheetSizeIndex"] = 10;
PDFPrinter.Option["Paper.Size"] = 10;
PDFPrinter.ApplyOptions(0);
SheetSizeIndex propery not working
Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Tracker Supp-Stefan
- Tracker Supp-Stefan
- Site Admin
- Posts: 17907
- Joined: Mon Jan 12, 2009 8:07 am
- Location: London
- Contact:
Re: SheetSizeIndex propery not working
Hello gopinathrbe,
I just posted in your other topic:
viewtopic.php?f=43&t=32191
I believe the issue is that you are trying to use an option not documented here:
https://help.pdf-xchange.com/pdfxdapi7/paper.html
And namely - this one:
// PDFPrinter.Option["Paper.Size"] = 10;
Regards,
Stefan
I just posted in your other topic:
viewtopic.php?f=43&t=32191
I believe the issue is that you are trying to use an option not documented here:
https://help.pdf-xchange.com/pdfxdapi7/paper.html
And namely - this one:
// PDFPrinter.Option["Paper.Size"] = 10;
Regards,
Stefan