AddVideoFrame()

ShapeCollection::AddVideoFrame(float, float, float, float, System::String) method

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

System::SharedPtr<IVideoFrame> Aspose::Slides::ShapeCollection::AddVideoFrame(float x, float y, float width, float height, System::String fname) override

Arguments

ParameterTypeDescription
xfloatThe x-coordinate of the new video frame, in points.
yfloatThe y-coordinate of the new video frame, in points.
widthfloatThe width of the new video frame, in points.
heightfloatThe height of the new video frame, in points.
fnameSystem::StringThe path or name of the video file to embed.

Return Value

The newly created IVideoFrame.

ShapeCollection::AddVideoFrame(float, float, float, float, System::SharedPtr<IVideo>) method

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

System::SharedPtr<IVideoFrame> Aspose::Slides::ShapeCollection::AddVideoFrame(float x, float y, float width, float height, System::SharedPtr<IVideo> video) override

Arguments

ParameterTypeDescription
xfloatThe x-coordinate of the new video frame, in points.
yfloatThe y-coordinate of the new video frame, in points.
widthfloatThe width of the new video frame, in points.
heightfloatThe height of the new video frame, in points.
videoSystem::SharedPtr<IVideo>The IVideo to embed in the video frame.

Return Value

The newly created IVideoFrame.

See Also