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

Adding an OLE Object Frame to a Slide

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?