Is there a method to allow me to do the same as AddImportedPageData() but to instead pass in bainary data of the PDF document rather than a file path?
AddImportedPageData from Binary?
Re: AddImportedPageData from Binary?
Support · Aug 6, 2007Hello,
You can create the PDF documents using the byte array without any problem. You can create a PdfDocument object using the byte array and use this PdfDocument in the LoadPdf method which takes the PdfDocument. You can take out individual pages by specifying the page numbers to merge.
There is no other method same as the AddImportedPageData which can take the byte array as input. You will have to draw the stream on to the disk as a PDF and use the path of the saved PDF in the AddImportedPage method.
Thanks,
ceTe Software Support Team.