InsertAudioFrameEmbedded
Contents
[
Hide
]InsertAudioFrameEmbedded(int, float, float, float, float, Stream)
Creates a new audio frame with an embedded WAV file and inserts it into the shape collection at the specified index. The embedded audio is added to the Presentation.Audios collection.
public IAudioFrame InsertAudioFrameEmbedded(int index, float x, float y, float width, float height,
Stream audio_stream)
Parameter | Type | Description |
---|---|---|
index | Int32 | The zero-based index at which to insert the audio frame. |
x | Single | The x-coordinate of the new audio frame, in points. |
y | Single | The y-coordinate of the new audio frame, in points. |
width | Single | The width of the new audio frame, in points. |
height | Single | The height of the new audio frame, in points. |
audio_stream | Stream | An input stream containing WAV audio data to embed. |
Return Value
The newly created IAudioFrame
.
See Also
- interface IAudioFrame
- class ShapeCollection
- namespace Aspose.Slides
- assembly Aspose.Slides
InsertAudioFrameEmbedded(int, float, float, float, float, IAudio)
Creates a new audio frame and inserts it into the shape collection at the specified index using an existing audio object from the Presentation.Audios list.
public IAudioFrame InsertAudioFrameEmbedded(int index, float x, float y, float width, float height,
IAudio audio)
Parameter | Type | Description |
---|---|---|
index | Int32 | The zero-based index at which to insert the audio frame. |
x | Single | The x-coordinate of the new audio frame, in points. |
y | Single | The y-coordinate of the new audio frame, in points. |
width | Single | The width of the new audio frame, in points. |
height | Single | The height of the new audio frame, in points. |
audio | IAudio | An IAudio instance from the Presentation.Audios collection to embed. |
Return Value
The newly created IAudioFrame
.
See Also
- interface IAudioFrame
- interface IAudio
- class ShapeCollection
- namespace Aspose.Slides
- assembly Aspose.Slides