Embed Attachment to PDF

Contents
[ ]

In Excel, you can insert an OLE Object with source data (embedded-attachments-example.xlsx). Double‑click the OLE Object, and the embedded file will be opened.

Generally, while converting to PDF, the OLE Object will be rendered as an icon or a thumbnail without the OLE Object source data. With the option PdfSaveOptions.EmbedAttachments, you can embed the OLE Object source data as an attachment in the PDF. You can double‑click the icon or the thumbnail in the PDF to open the source file of the OLE Object.

embedded-attachment.png