[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.GcPdfDocument.Save

Save Method

Save(string)

Saves the current PDF document to a file using the default mode (no incremental update, not linearized).

Declaration
public void Save(string fileName)
Parameters
Type Name Description
string fileName

The name of the PDF file to create.

Save(Stream)

Saves the current PDF document to a Stream using the default mode (no incremental update, not linearized).

Declaration
public void Save(Stream stream)
Parameters
Type Name Description
Stream stream

The Stream object to use for saving the document.

Save(Stream, SaveMode)

Saves the current PDF document to a Stream using the specified save mode.

Declaration
public void Save(Stream stream, SaveMode saveMode)
Parameters
Type Name Description
Stream stream

The Stream object to use for saving the document.

SaveMode saveMode

The PDF saving mode.

Save(string, SaveMode)

Saves the current PDF document to a file using a specified save mode.

Declaration
public void Save(string fileName, SaveMode saveMode)
Parameters
Type Name Description
string fileName

The name of the PDF file to create.

SaveMode saveMode

The PDF save mode.

Save(Stream, SavePdfOptions)

Saves the current PDF document to a Stream using a specified PDF save options.

Declaration
public void Save(Stream stream, SavePdfOptions saveOptions)
Parameters
Type Name Description
Stream stream

The Stream object to use for saving the document.

SavePdfOptions saveOptions

The PDF save options.

Save(string, SavePdfOptions)

Saves the current PDF document to a file using a specified PDF save options.

Declaration
public void Save(string fileName, SavePdfOptions saveOptions)
Parameters
Type Name Description
string fileName

The name of the PDF file to create.

SavePdfOptions saveOptions

The PDF save options.

Save(string, bool)

Saves the current PDF document to a file, optionally using incremental update mode.

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

The name of the PDF file to create.

bool incrementalUpdate

Indicates whether the document should be saved using incremental update.

Save(Stream, bool)

Saves the current PDF document to a Stream, optionally using incremental update mode.

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

The Stream object to use for saving the document.

bool incrementalUpdate

Indicates whether the document should be saved using incremental update.