Document Solutions for PDF
GrapeCity.Documents.Imaging Assembly / GrapeCity.Documents.Svg Namespace / GcSvgDocument Class / FromStream Method / FromStream(Stream,Boolean) Method
The stream containing the SVG data.
true to leave the stream open after reading the data, false to close the stream.

In This Topic
    FromStream(Stream,Boolean) Method
    In This Topic
    Creates a new GcSvgDocument from a specified SVG data stream, optionally leaving the stream open.
    Syntax
    'Declaration
     
    Public Overloads Shared Function FromStream( _
       ByVal stream As System.IO.Stream, _
       ByVal leaveOpen As System.Boolean _
    ) As GcSvgDocument
    public static GcSvgDocument FromStream( 
       System.IO.Stream stream,
       System.bool leaveOpen
    )

    Parameters

    stream
    The stream containing the SVG data.
    leaveOpen
    true to leave the stream open after reading the data, false to close the stream.

    Return Value

    The created SVG document.
    See Also