my company is using a registered licence for pdf x-change 5 api.
now i want to use the api to set up a temporary printer which should open an existing pdf file, overlay it with another existing pdf file and save it to special path
my code atm looks like this:
Code: Select all
PXCComLib5.CPXCControlEx prnFactory = new PXCComLib5.CPXCControlEx();
_pdfPrinter = (PXCComLib5.CPXCPrinter)prnFactory.get_Printer("", "Simple PDF-XChange 2012", "<regCode>", "<devCode>");
_pdfPrinter.ResetDefaults();
_pdfPrinter.Option["Save.File"] = @"\\my\path\to\the\final\output\file.pdf";
_pdfPrinter.Option["Save.SaveType"] = 2;
_pdfPrinter.Option["Save.ShowSaveDialog"] = "no";
_pdfPrinter.Option["Saver.ShowProgress"] = "no";
_pdfPrinter.Option["Save.WhenExists"] = "Overwrite";
_pdfPrinter.Option["Save.RunApp"] = "Yes";
_pdfPrinter.Option["Overlay.Enabled"] = "Yes";
_pdfPrinter.Option["Overlay.OverlayFile"] = @"\\my\path\to\the\overlay\file.pdf";
Is there any way to realize this? If "yes"...how?!_pdfPrinter.Option["Open.File"] = @"\\my\path\to\the\file\that\should\be\overlayed.pdf";
Thank's for your support!