GroupShapeAddAudio Method (String, Stream, Double, Double) |
Namespace:
GemBox.Presentation
Assembly:
GemBox.Presentation (in GemBox.Presentation.dll) Version: 21.3.35.1038 (21.3.35.1038)
Syntaxpublic AudioContent AddAudio(
string contentType,
Stream stream,
double left,
double top
)
Public Function AddAudio (
contentType As String,
stream As Stream,
left As Double,
top As Double
) As AudioContent
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:
AudioContentA new
AudioContent contained in a new
Picture added to the current
GroupShape.
RemarksDefaultUnit is the measuring unit in which parameters
left and
top are specified.
See Also