Click or drag to resize

GroupShapeAddAudio Method (String, Stream, Double, Double)

Adds a new Picture with an AudioContent media to the current GroupShape.

Namespace:  GemBox.Presentation
Assembly:  GemBox.Presentation (in GemBox.Presentation.dll) Version: 21.3.35.1032 (21.3.35.1032)
Syntax
public AudioContent AddAudio(
	string contentType,
	Stream stream,
	double left,
	double top
)

Parameters

contentType
Type: SystemString
Content type (MIME type) of the audio data.
stream
Type: System.IOStream
Stream containing the audio data.
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).

Return Value

Type: AudioContent
A new AudioContent contained in a new Picture added to the current GroupShape.
Remarks
DefaultUnit is the measuring unit in which parameters left and top are specified.
See Also