insert_audio_frame_linked method

insert_audio_frame_linked

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

Returns

The newly created IAudioFrame.

def insert_audio_frame_linked(self, index, x, y, width, height, fname):
    ...
ParameterTypeDescription
indexintThe 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.
fnamestrThe path or name of the external audio file to link.

See Also