Table of Contents

Method Save

Namespace
BitMiracle.Docotic.Pdf
Assembly
BitMiracle.Docotic.Pdf.dll

Save(string)

Saves the document to the file with the specified name.

public void Save(string fileName)

Parameters

fileName string

The name of the file to save document to.

Remarks

This method saves the document using the default save options. Use Save(string, PdfSaveOptions) overload to specify custom save options.

Save(string, PdfSaveOptions)

Saves the document using the specified save options to the file with the specified name.

public void Save(string fileName, PdfSaveOptions saveOptions)

Parameters

fileName string

The name of the file to save document to.

saveOptions PdfSaveOptions

The save options to use.

Save(Stream)

Saves the document to the specified stream.

public void Save(Stream stream)

Parameters

stream Stream

The stream to save document to.

Remarks

This method saves the document using the default save options. Use Save(Stream, PdfSaveOptions) overload to specify custom save options.

Save(Stream, PdfSaveOptions)

Saves the document using the specified save options to the specified stream.

public void Save(Stream stream, PdfSaveOptions saveOptions)

Parameters

stream Stream

The stream to save document to.

saveOptions PdfSaveOptions

The save options to use.