We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Attach Document to PDF

I am trying to attach a document to a PDF that I am creating using Aspose.PDF and XSLT.
The only thing I see that might work is:

My problem is the documents I am attaching are stored in a database using a Byte stream.

How would I modify your to handle (byte[])dr[“Bytes”];

Thank you,

Hi Suzanne,

Thanks for your inquiry. You can convert Byte array from your database to Stream or file and attach to PDF document, it will help you to accomplish the task. However if you encounter any issue then please share your sample code here, we will look into it and guide you accordingly.

Please feel free to contact us for any further assistance.

Best Regards,

I missed sending this:

Hi Suzanne,

I am afraid I could not understand your last reply. Are you going to send us the required artifacts or by following Tilal’s instructions, you managed to resolve your problem. Please acknowledge, so we may further look into this matter.