Document Solutions for PDF
DS.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 the PDF object ID. (Inherited from GrapeCity.Documents.Pdf.Wrappers.PdfWrapperBase)
    Public PropertyGets the underlying GrapeCity.Documents.Pdf.Spec.IPdfDict. (Inherited from GrapeCity.Documents.Pdf.Wrappers.PdfDictWrapper)
    Public PropertyGets the underlying GrapeCity.Documents.Pdf.Spec.IPdfObject. (Inherited from GrapeCity.Documents.Pdf.Wrappers.PdfWrapper<IPdfDict>)
    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 MethodGets the System.IO.Stream object containing the data of GrapeCity.Documents.Pdf.Spec.PdfStreamObjectBase owned by this wrapper. Note! The stream should be disposed after usage. (Inherited from GrapeCity.Documents.Pdf.Wrappers.PdfWrapperBase)
    Public MethodGets the data of GrapeCity.Documents.Pdf.Spec.PdfStreamObjectBase owned by this wrapper. (Inherited from GrapeCity.Documents.Pdf.Wrappers.PdfWrapperBase)
    Public MethodGets the GrapeCity.Documents.Pdf.Spec.PdfStreamInfo object containing the data of GrapeCity.Documents.Pdf.Spec.PdfStreamObjectBase owned by this wrapper. Note! The stream should be disposed after usage. (Inherited from GrapeCity.Documents.Pdf.Wrappers.PdfWrapperBase)
    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