Xamarin.Forms | ComponentOne
C1.Xamarin.Forms.Viewer Assembly / C1.Xamarin.Forms.Viewer Namespace / FlexViewer 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 Stream, _
       Optional ByVal incrementalUpdate As Boolean _
    ) 
    'Usage
     
    
    Dim instance As FlexViewer
    Dim stream As Stream
    Dim incrementalUpdate As Boolean
     
    instance.Save(stream, incrementalUpdate)
    public void Save( 
       Stream stream,
       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