AddVideoFrame

AddVideoFrame(float, float, float, float, string)

Creates a new video frame and adds it to the end of the shape collection.

public IVideoFrame AddVideoFrame(float x, float y, float width, float height, string fname)
ParameterTypeDescription
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


AddVideoFrame(float, float, float, float, IVideo)

Creates a new video frame and adds it to the end of the shape collection.

public IVideoFrame AddVideoFrame(float x, float y, float width, float height, IVideo video)
ParameterTypeDescription
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.
videoIVideoThe IVideo to embed in the video frame.

Return Value

The newly created IVideoFrame.

See Also