add_audio_frame_linked method

add_audio_frame_linked

Creates a new audio frame linked to an external audio file and adds it to the end of the shape collection.

Returns

The newly created IAudioFrame.

def add_audio_frame_linked(self, x, y, width, height, fname):
    ...
ParameterTypeDescription
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