Documents for PDF .NET Edition
GrapeCity.Documents.Pdf Assembly / GrapeCity.Documents.Pdf Namespace / GcPdfDocument Class / Save Method / Save(Stream,Boolean) Method
The System.IO.Stream object to use for saving the document.
Indicates whether document should be saved using incremental updates.

In This Topic
    Save(Stream,Boolean) Method
    In This Topic
    Saves the current PDF document to a System.IO.Stream.
    Syntax
    'Declaration
     
    Public Overloads Sub Save( _
       ByVal stream As System.IO.Stream, _
       Optional ByVal incrementalUpdate As System.Boolean _
    ) 
    public void Save( 
       System.IO.Stream stream,
       System.bool incrementalUpdate
    )

    Parameters

    stream
    The System.IO.Stream object to use for saving the document.
    incrementalUpdate
    Indicates whether document should be saved using incremental updates.
    Remarks
    Saving the PDF document to a System.IO.Stream object is often used in Web scenarios, when you are creating a response object or storing the document in the cache, and don't want to create temporary files.
    See Also