InsertVideoFrame

IShapeCollection.InsertVideoFrame 方法

创建一个新的视频框并将其插入到指定索引的集合中。

public IVideoFrame InsertVideoFrame(int index, float x, float y, float width, float height, 
    string fname)
参数类型描述
indexInt32应插入视频框的零基索引。
xSingle新视频框的X坐标。
ySingle新视频框的Y坐标。
widthSingle新视频框的宽度。
heightSingle新视频框的高度。
fnameString视频文件名。

返回值

创建的 VideoFrame 对象。

参见