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: Daniel - PDF-XChange, PDF-XChange Support, Vasyl - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Stefan - PDF-XChange
- Stefan - PDF-XChange
- Site Admin
- Posts: 19794
- Joined: Mon Jan 12, 2009 8:07 am
- 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