get_Sound()
IHyperlink::get_Sound() method
Represents the playing sound of the hyperlink. Read IAudio.
virtual System::SharedPtr<IAudio> Aspose::Slides::IHyperlink::get_Sound()=0
Remarks
auto presentation = System::MakeObject<Presentation>(u"demo.pptx");
// Get the first shape hyperlink
auto link = presentation->get_Slides()->idx_get(0)->get_Shapes()->idx_get(0)->get_HyperlinkClick();
if (link->get_Sound() != nullptr)
{
// Extract the hyperlink sound in byte array
System::ArrayPtr<uint8_t> audioData = link->get_Sound()->get_BinaryData();
}
See Also
- Typedef SharedPtr
- Class IAudio
- Class IHyperlink
- Namespace Aspose::Slides
- Library Aspose.Slides