Aspose::Pdf::Facades::PdfContentEditor::CreateSound method

PdfContentEditor::CreateSound method

Creates Sound Annotations.

void Aspose::Pdf::Facades::PdfContentEditor::CreateSound(System::Drawing::Rectangle rect, const System::String &filePath, const System::String &name, int32_t page, const System::String &rate)
ParameterTypeDescription
rectSystem::Drawing::RectangleThe annotation rectangle defining the location of the annotation on the page.
filePathconst System::String&The file path of sound file.
nameconst System::String&The name of an icon to be used in displaying the annotation,include:Speaker and Mic.
pageint32_tThe page in which the Sound annotation is created.
rateconst System::String&The sampling rate, in samples per second.

See Also