AddVideoFrame()

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

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

virtual System::SharedPtr<IVideoFrame> Aspose::Slides::IShapeCollection::AddVideoFrame(float x, float y, float width, float height, System::String fname)=0

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.

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

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

virtual System::SharedPtr<IVideoFrame> Aspose::Slides::IShapeCollection::AddVideoFrame(float x, float y, float width, float height, System::SharedPtr<IVideo> video)=0

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