Page 1 of 1

SheetSizeIndex propery not working

Posted: Sun Feb 17, 2019 1:48 pm
by gopinathrbe
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);

Re: SheetSizeIndex propery not working

Posted: Mon Feb 18, 2019 12:49 pm
by Tracker Supp-Stefan
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