Class PdfSound
Represents sound embedded into pdf document.
Inheritance
System.Object
PdfSound
Namespace: Syncfusion.Pdf.Interactive
Assembly: Syncfusion.Pdf.NET.dll
Syntax
public class PdfSound : Object, IPdfWrapper
Constructors
PdfSound(Stream)
Declaration
public PdfSound(Stream data)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | data |
Properties
Bits
Gets or sets the number of bits per sample value per channel.
Declaration
public int Bits { get; set; }
Property Value
Type |
---|
System.Int32 |
Channels
Gets or sets the number of sound channels.
Declaration
public PdfSoundChannels Channels { get; set; }
Property Value
Type |
---|
PdfSoundChannels |
Encoding
Gets or sets the encoding format for the sample data.
Declaration
public PdfSoundEncoding Encoding { get; set; }
Property Value
Type |
---|
PdfSoundEncoding |
FileName
Declaration
public string FileName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name of the file. |
Rate
Gets or sets the sampling rate, in samples per second (in Hz).
Declaration
public int Rate { get; set; }
Property Value
Type |
---|
System.Int32 |
Methods
Save()
Saves an instance.
Declaration
protected void Save()