## SoundData class


Represents a sound data defining the sound to be played when the annotation is activated.

```cpp
class SoundData : public System::Object
```

## Methods

| Method | Description |
| --- | --- |
| [get_Bits](./get_bits/)() | Gets the number of bits per sample value per channel. |
| [get_Channels](./get_channels/)() | Gets the number of sound channels. |
| [get_Contents](./get_contents/)() | Gets stream of the sound to be played when the annotation is activated. |
| [get_Encoding](./get_encoding/)() | Gets the encoding format for the sample data. |
| [get_Rate](./get_rate/)() | Gets the sampling rate, in samples per second. |
| [set_Bits](./set_bits/)(int32_t) | Sets the number of bits per sample value per channel. |
| [set_Channels](./set_channels/)(int32_t) | Sets the number of sound channels. |
| [set_Encoding](./set_encoding/)(SoundEncoding) | Sets the encoding format for the sample data. |
| [set_Rate](./set_rate/)(int32_t) | Sets the sampling rate, in samples per second. |
## See Also

* Class [Object](../../system/object/)
* Namespace [Aspose::Pdf::Annotations](../)
* Library [Aspose.PDF for C++](../../)
