Document Solutions for Imaging
GrapeCity.Documents.Imaging Assembly / GrapeCity.Documents.Svg Namespace / GcSvgDocument Class / FromStream Method / FromStream(Stream) Method
The stream containing the SVG data.

In This Topic
    FromStream(Stream) Method
    In This Topic
    Creates a new GcSvgDocument from a specified SVG data stream.

    The stream will be closed after reading the SVG data. To keep the stream open, use the FromStream(Stream,Boolean) overload and pass true in the leaveOpen parameter.

    Syntax
    'Declaration
     
    Public Overloads Shared Function FromStream( _
       ByVal stream As System.IO.Stream _
    ) As GcSvgDocument
    public static GcSvgDocument FromStream( 
       System.IO.Stream stream
    )

    Parameters

    stream
    The stream containing the SVG data.

    Return Value

    The created SVG document.
    See Also