Copyright © 2011-2018 MultiMedia Soft

SoundComposer.ItemSpeechStringSet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Modifies the string of text to speech of the given item. The current pathname of the text file or the string of text to speech can be obtained through the SoundComposer.ItemSpeechTextGet method.

 

For further details about sound composing see the the SoundComposerMan class and the How to compose a sound tutorial.

 

 

Syntax

 

[Visual Basic]

Public Function ItemSpeechStringSet (

ByRef nUniqueId as Int32,

strTextToSpeech as String

) as enumErrorCodes


 

[C#]

public enumErrorCodes ItemSpeechStringSet (

Int32 nUniqueId,

string strTextToSpeech

);


 

[C++]

public: enumErrorCodes ItemSpeechStringSet (

Int32 nUniqueId,

string strTextToSpeech

);


 

Parameter

Description

 

 

nUniqueId

The unique identifier of the element previously returned by the call to the SoundComposer.ItemSpeechFromStringAdd method or to the SoundComposer.ItemSpeechFromFileAdd method.

strTextToSpeech

String of text to speech

 

 

Return value

 

Value

Meaning

 

 

Negative value

An error occurred (see the LastError property for further error details)

enumErrorCodes.NOERROR (0)

The method call was successful.