Documents for PDF .NET Edition
GrapeCity.Documents.Pdf Assembly / GrapeCity.Documents.Pdf Namespace / SoundObject Class / FromStream Method
The stream with audio data.
The audio format.

In This Topic
    FromStream Method (SoundObject)
    In This Topic
    Creates a SoundObject from a specified stream.

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

    Syntax
    'Declaration
     
    Public Shared Function FromStream( _
       ByVal stream As System.IO.Stream, _
       Optional ByVal audioFormat As AudioFormat _
    ) As SoundObject
    public static SoundObject FromStream( 
       System.IO.Stream stream,
       AudioFormat audioFormat
    )

    Parameters

    stream
    The stream with audio data.
    audioFormat
    The audio format.

    Return Value

    The created SoundObject.
    See Also