Hi
After the merging multiple PDF's the output.pdf is not retaining the security settings of source pdf. Can you please help me on this.
Please let me know if you need any clarification on this.
//create a array to hold file names
string[] files = Directory.GetFiles(@"C:\temp\PDF\LIFE");
PdfFileEditor pdfEditor = new PdfFileEditor();
//first svae the existing strategy
FileProcessingStrategy strategy = Settings.Strategy;
//set new strategy to OptimizeMemoryUsage
Settings.Strategy = FileProcessingStrategy.AutoDetect;
pdfEditor.Concatenate(files,@"C:\temp\PDF\LIFE\output.pdf");
//revert back to the previous strategy
Settings.Strategy = strategy;