InsertAudioFrameLinked()

ShapeCollection::InsertAudioFrameLinked(int32_t, float, float, float, float, System::String) method

Creates a new audio frame linked to an external audio file and inserts it into the shape collection at the specified index.

System::SharedPtr<IAudioFrame> Aspose::Slides::ShapeCollection::InsertAudioFrameLinked(int32_t index, float x, float y, float width, float height, System::String fname) override

Arguments

ParameterTypeDescription
indexint32_tThe zero-based index at which to insert the audio frame.
xfloatThe x-coordinate of the new audio frame, in points.
yfloatThe y-coordinate of the new audio frame, in points.
widthfloatThe width of the new audio frame, in points.
heightfloatThe height of the new audio frame, in points.
fnameSystem::StringThe path or name of the external audio file to link.

Return Value

The newly created IAudioFrame.

See Also