IShapeCollectionInsertAudioFrameEmbedded Method (Int32, Single, Single, Single, Single, IAudio)

Insert an AudioFrame with embedded audio file. It uses audio file from Presentation.Audios list.

Namespace:  Aspose.Slides
Assembly:  Aspose.Slides (in Aspose.Slides.dll) Version: 21.11.0.0 (21.11)
Syntax
IAudioFrame InsertAudioFrameEmbedded(
	int index,
	float x,
	float y,
	float width,
	float height,
	IAudio audio
)

Parameters

index
Type: SystemInt32
The zero-based index at which value should be inserted.
x
Type: SystemSingle
X coordinate of a new audio frame.
y
Type: SystemSingle
Y coordinate of a new audio frame.
width
Type: SystemSingle
Width of a new audio frame.
height
Type: SystemSingle
Height of a new audio frame.
audio
Type: Aspose.SlidesIAudio
Audio from Presentation.Audios list.

Return Value

Type: IAudioFrame
Created AudioFrame object.
See Also