ShapeList
InsertAudioMedia Method (Int32, String, Single, Single, Boolean)
|
Insert an audio to collection.
Namespace:
Spire.Presentation.Collections
Assembly:
Spire.Presentation (in Spire.Presentation.dll) Version: 10.4.2.0 (10.4.2.6046)
Syntax
public void InsertAudioMedia(
int index,
string filePath,
float X,
float Y,
bool isEmbed
)
Public Sub InsertAudioMedia (
index As Integer,
filePath As String,
X As Single,
Y As Single,
isEmbed As Boolean
)
public:
void InsertAudioMedia(
int index,
String^ filePath,
float X,
float Y,
bool isEmbed
)
member InsertAudioMedia :
index : int *
filePath : string *
X : float32 *
Y : float32 *
isEmbed : bool -> unit
Parameters
-
index
-
Type:
System
Int32
-
filePath
-
Type:
System
String
Audio file path
-
X
-
Type:
System
Single
X Position
-
Y
-
Type:
System
Single
Y Position
-
isEmbed
-
Type:
System
Boolean
Whether embed or not,default not
See Also