How to create a Sound (Audio) Annotations in PDF document
PDF documents can contain annotations that appear on a page but are not considered to be part of the page content.
You can use PDF Creator Pilot to add a pre-recorded WAV or AIFF files as a comment or to record and place an audio comment in a document. Audio attachments appear in the Comments list and can be played back on any platform. However, the appropriate hardware and software for playing audio files must be installed.
To make the attachment viewable in Acrobat, do one of the following:
- Click the Annotations button in the navigation pane, and select Show Annotations By Default from the Options menu (selected by default).
- Choose File -> Properties, click the Initial View tab, choose Annotations Panel And Page from the Show menu, and click OK.
For adding sound annotations in a PDF, use the " AddUnicodeSoundAnnotation " method. There are five parameters in the method. See a description of the parameters below:
- x - X coordinate of the top-left corner of the bounding rectangle
- y - Y coordinate of the top-left corner of the bounding rectangle
- title - Unicode title of the annotation
- contents - Unicode contents of the annotation
- filePath - Path to the sound file to embed in the PDF file
Download Sample PDF with Sounds Annotations
PDFWithSoundAnnotation.pdf (141Kb)
Download Sample Code for PDF Creator Pilot
Sound Annotations in a PDF for C++ (248Kb)
Sound Annotations in a PDF for C# (247Kb)
Sound Annotations in a PDF for VB.Net (252Kb)
See also
◊ How to create a new PDF document
◊ How to place an image into PDF
◊ How to write text in a PDF document
◊ How to draw simple elements, such as a line, circle, or arc, with different attributes
◊ How to manipulate primitives to clip drawing objects
◊ How to create PDF with ASP.NET on the web server without Visual Studio
◊ How to create PDF with PHP on the web server
◊ How to create PDF with Python on the web server
◊ How to create or edit PDF with Python
◊ How to convert metafile to PDF using C++
◊ How to convert image to PDF using VB.NET
◊ How to extract text from PDF documents
◊ How to place a Attachments into PDF document
◊ How to create a Sound Annotations in PDF document