InsertVideoFrame

ShapeCollection.InsertVideoFrame method

Creates a new video frame and inserts it into the shape collection at the specified index.

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

Return Value

The newly created IVideoFrame.

See Also