Free Support Forum - aspose.com

How to add attachment?

How do you add attachments from a generic filetype using Apose.Slides?

The manual PowerPoint operation I'm trying to do programmatically is:

Insert -> Object -> From file

Is this possible with Aspose.Slides?

Best regards,
/Lars

Please see <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Adding an OLE Object Frame to a Slide

http://www.aspose.com/documentation/file-format-components/aspose.slides-for-.net-and-java/working-with-ole-object-frames.html

Thank you. This is working for Excel files.

However, I am not able to attach, for example, Zip or PDF files.

Is this possible, and if so, can you give me some example code for doing this?