[]
        
(Showing Draft Content)

C1.iOS.Viewer.FlexViewer.Save

Save Method

Save(string, bool)

Saves the current PDF document to a file.

Declaration
public void Save(string fileName, bool incrementalUpdate = false)
Parameters
Type Name Description
string fileName

The name of the PDF file to create.

bool incrementalUpdate

Indicates whether document should be saved using incremental updates.

Remarks

Saving the PDF document to a file requires that the file be available for writing. If the file already exists and is in use by an application (such as the Adobe Acrobat Reader), the method will throw an exception.

Save(Stream, bool)

Saves the current PDF document to a System.IO.Stream.

Declaration
public void Save(Stream stream, bool incrementalUpdate = false)
Parameters
Type Name Description
Stream stream

The System.IO.Stream object to use for saving the document.

bool 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.