Class PdfSound
Represents sound embedded into pdf document.
Inheritance
System.Object
PdfSound
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Pdf.Interactive
Assembly: Syncfusion.Pdf.Base.dll
Syntax
public class PdfSound : IPdfWrapper
Constructors
PdfSound(String)
Declaration
public PdfSound(string fileName)
Parameters
Type | Name | Description |
---|---|---|
System.String | fileName | Name of the file. |
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()