Split the PDF generation process
Posted: Tue Mar 28, 2017 7:45 am
HI,
We are planing to segregate the PDF process through IO process to increase the time.
Process 1) To load the report and export the report to txt or some format using SaveDocumentToByteArray
Process 2) Read the exported files and load the byte using LoadDocument then finally export the PDF file.
My concern is, How to set PDF password through process 1. If set the password, then process 2 will be set password automatically in export PDF method(Process 2). Is it possible to set this logic ?
We are planing to segregate the PDF process through IO process to increase the time.
Process 1) To load the report and export the report to txt or some format using SaveDocumentToByteArray
Process 2) Read the exported files and load the byte using LoadDocument then finally export the PDF file.
My concern is, How to set PDF password through process 1. If set the password, then process 2 will be set password automatically in export PDF method(Process 2). Is it possible to set this logic ?