InsertAudioFrameLinked

ShapeCollection.InsertAudioFrameLinked method

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

public IAudioFrame InsertAudioFrameLinked(int index, float x, float y, float width, float height, 
    string fname)
ParameterTypeDescription
indexInt32The zero-based index at which to insert the audio frame.
xSingleThe x-coordinate of the new audio frame, in points.
ySingleThe y-coordinate of the new audio frame, in points.
widthSingleThe width of the new audio frame, in points.
heightSingleThe height of the new audio frame, in points.
fnameStringThe path or name of the external audio file to link.

Return Value

The newly created IAudioFrame.

See Also