| Maptitude GISDK Help |
Plays a sound file.
PlaySound(string soundfile, string disposition)
| Argument | Contents |
|---|---|
| soundfile | The path and file name of the sound file |
| disposition | One of the following values:- "Null": waits for the sound to complete- "NoWait": returns immediately- "Loop": returns immediately and repeats the sound until the next call to PlaySound() |
PlaySound() accepts only Windows wave (.WAV) files.
| Error Type | Meaning |
|---|---|
| NotFound | The sound file does not exist or cannot be opened |
| ©2025 Caliper Corporation | www.caliper.com |