Click or drag to resize

GroupShapeAddVideo Method (String, Double, Double, Double, Double, LengthUnit)

Adds a new Picture with a VideoContent media to the current GroupShape.

Namespace:  GemBox.Presentation
Assembly:  GemBox.Presentation (in GemBox.Presentation.dll) Version: 21.3.35.1045 (21.3.35.1045)
Syntax
public VideoContent AddVideo(
	string link,
	double left,
	double top,
	double width,
	double height,
	LengthUnit unit
)

Parameters

link
Type: SystemString
Link to a video data for a newly added VideoContent media.
left
Type: SystemDouble
The location of the left edge of the bounding box enclosing a newly added Picture relative to the left edge of the slide on which the Picture is being added (prior to any rotation or flipping).
top
Type: SystemDouble
the location of the top edge of the bounding box enclosing a newly added Picture relative to the top edge of the slide on which the Picture is being added (prior to any rotation or flipping).
width
Type: SystemDouble
The width of the bounding box enclosing a newly added Picture (prior to any rotation or flipping).
height
Type: SystemDouble
The height of the bounding box enclosing a newly added Picture (prior to any rotation or flipping).
unit
Type: GemBox.PresentationLengthUnit
The measuring unit in which parameters left, top, width and height are specified.

Return Value

Type: VideoContent
A new VideoContent contained in a new Picture added to the current GroupShape.
See Also