Frequently Asked Question:
Embed Audio File
I need to embed and Audio file in a PDF document. I would like to insert an image that when clicked will "play" the audio. This is for education project, to enhance the written document with audio.
It is not currently possible to add Sound Annotations (section 12.5.6.16 of PDF 32000-1:2008) to a PDF using Quick PDF Library.
It is possible to embed a file in a PDF using the EmbedFile function, however, this would not be added as a sound annotation, even though you could add a link to the embedded audio file in the PDF using the AddLinkToEmbeddedFile function.
The difference between the method I've described and a real Sound Annotation is that if you just embed an audio file as I have described then this will open the audio file in an external application outside of the PDF, but a real sound annotation will play the audio file inside the PDF, without opening external applications.
I have added the ability to add Sound Annotations to the feature wishlist for Quick PDF Library.