Yes, you can easily embed a file in a PDF using the EmbedFile function. This will embed the file (any file type) in a PDF document and then make that file accessible from within the PDF via the attachment panel.

This C# sample code demonstrates how easy it is to embed a file within a PDF.

1
2
3
4
string Input = @"C:\temp\PICT1454.JPG";
string Output = @"C:\temp\embed-file.pdf";
DPL.EmbedFile("JPG Test", Input, "image / jpeg");
DPL.SaveToFile(Output);