Documents for PDF .NET Edition
GrapeCity.Documents.Pdf Assembly / GrapeCity.Documents.Pdf Namespace / SoundObject Class
Properties Methods

In This Topic
    SoundObject Class Members
    In This Topic

    The following tables list the members exposed by SoundObject.

    Public Constructors
     NameDescription
    Public ConstructorInitializes a new instance of the SoundObject class.  
    Top
    Public Properties
     NameDescription
    Public PropertyGets or sets the number of bits per sample value per channel.  
    Public PropertyGets or sets the encoding format for the sample data, see SoundEncodingFormat.  
    Public PropertyGets or sets the sampling rate, in samples per second.  
    Public PropertyGets or sets the number of sound channels.  
    Top
    Public Methods
     NameDescription
    Public Methodstatic (Shared in Visual Basic)Creates a SoundObject from a specified file.

    Note that only a limited set of audio formats is supported, see AudioFormat for details.

     
    Public Methodstatic (Shared in Visual Basic)Creates a SoundObject from a specified stream.

    Note that only a limited set of audio formats is supported, see AudioFormat for details.

     
    Public MethodGets a System.IO.Stream object containing the audio data.

    IMPORTANT: that the stream should be disposed after usage.

     
    Public MethodSets the audio data stream.

    IMPORTANT: the stream will be read when the document is saved, so it should be available at that time.

     
    Top
    See Also