insert_audio_frame_embedded method
Contents
[
Hide
]insert_audio_frame_embedded
Insert an AudioFrame with embedded audio file. Embedded audio file sound can be a WAV only. It adds new audio into Presentation.Audios list.
Returns
Created AudioFrame object.
def insert_audio_frame_embedded(self, index, x, y, width, height, audio_stream):
...
Parameter | Type | Description |
---|---|---|
index | int | The zero-based index at which value should be inserted. |
x | float | X coordinate of a new audio frame. |
y | float | Y coordinate of a new audio frame. |
width | float | Width of a new audio frame. |
height | float | Height of a new audio frame. |
audio_stream | io.RawIOBase | Audio stream. |
insert_audio_frame_embedded
Insert an AudioFrame with embedded audio file. It uses audio file from Presentation.Audios list.
Returns
Created AudioFrame object.
def insert_audio_frame_embedded(self, index, x, y, width, height, audio):
...
Parameter | Type | Description |
---|---|---|
index | int | The zero-based index at which value should be inserted. |
x | float | X coordinate of a new audio frame. |
y | float | Y coordinate of a new audio frame. |
width | float | Width of a new audio frame. |
height | float | Height of a new audio frame. |
audio | IAudio | Audio from Presentation.Audios list. |
See Also
- class
IAudio
- class
IAudioFrame
- class
IShapeCollection
- module
aspose.slides
- library
Aspose.Slides