Copyright © 2008-2018 MultiMedia Soft

SoundComposer.ItemSpeechFileSet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Modifies the pathname of the file containing the 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 SoundComposer object and the How to compose a sound tutorial.

 

 

Syntax

 

[Visual Basic]

control.SoundComposer.ItemSpeechFileSet (

nUniqueId as Long,

strPathname as String

) as enumErrorCodes


 

[C++]

short control.SoundComposer.ItemSpeechFileSet (

long nUniqueId,

LPCTSTR strPathname

);


 

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.

strPathname

Absolute pathname of the text file

 

 

 

Return value

 

Value

Meaning

 

 

Negative value

An error occurred, check the LastError property value in order to get the error code

enumErrorCodes.ERR_NOERROR (0)

The method call was successful