Click or drag to resize

GroupShapeAddAudio Method (AudioContentType, Stream, Double, Double, LengthUnit)

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.1045 (21.3.35.1045)
Syntax
public AudioContent AddAudio(
	AudioContentType contentType,
	Stream stream,
	double left,
	double top,
	LengthUnit unit
)

Parameters

contentType
Type: GemBox.Presentation.MediaAudioContentType
Content 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).
unit
Type: GemBox.PresentationLengthUnit
The measuring unit in which parameters left and top are specified.

Return Value

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