Aspose::Pdf::Document::Save method

Document::Save() method

Save document incrementally (i.e. using incremental update technique).

void Aspose::Pdf::Document::Save()

Remarks

In order to save document incrementally we should open the document file for writing. Therefore Document must be initialized with writable stream like in the next code snippet: Document doc = new Document(new FileStream(“document.pdf”, FileMode.Open, FileAccess.ReadWrite)); // make some changes and save the document incrementally doc.Save();

See Also

Document::Save(System::SharedPtr<SaveOptions>) method

Saves the document with save options.

void Aspose::Pdf::Document::Save(System::SharedPtr<SaveOptions> options)
ParameterTypeDescription
optionsSystem::SharedPtr<SaveOptions>Save options.

See Also

Document::Save(System::SharedPtr<System::IO::Stream>) method

Stores document into stream.

void Aspose::Pdf::Document::Save(System::SharedPtr<System::IO::Stream> output)
ParameterTypeDescription
outputSystem::SharedPtr<System::IO::Stream>Stream where document shell be stored.

See Also

Document::Save(System::SharedPtr<System::IO::Stream>, SaveFormat) method

Saves the document with a new name along with a file format.

void Aspose::Pdf::Document::Save(System::SharedPtr<System::IO::Stream> outputStream, SaveFormat format)
ParameterTypeDescription
outputStreamSystem::SharedPtr<System::IO::Stream>Stream where the document will be stored.
formatSaveFormatFormat options.

See Also

Document::Save(System::SharedPtr<System::IO::Stream>, System::SharedPtr<SaveOptions>) method

Saves the document to a stream with a save options.

void Aspose::Pdf::Document::Save(System::SharedPtr<System::IO::Stream> outputStream, System::SharedPtr<SaveOptions> options)
ParameterTypeDescription
outputStreamSystem::SharedPtr<System::IO::Stream>Stream where the document will be stored.
optionsSystem::SharedPtr<SaveOptions>Save options.

See Also

Document::Save(System::SharedPtr<System::Web::HttpResponse>, System::String, ContentDisposition, System::SharedPtr<SaveOptions>) method

Saves the document to a response stream with a save options.

void Aspose::Pdf::Document::Save(System::SharedPtr<System::Web::HttpResponse> response, System::String outputFileName, ContentDisposition disposition, System::SharedPtr<SaveOptions> options)
ParameterTypeDescription
responseSystem::SharedPtr<System::Web::HttpResponse>Encapsulates HTTP-response information.
outputFileNameSystem::StringSimple file name, i.e. without path.
dispositionContentDispositionRepresents a MIME protocol Content-Disposition header.
optionsSystem::SharedPtr<SaveOptions>Save options.

See Also

Document::Save(System::String) method

Saves document into the specified file.

void Aspose::Pdf::Document::Save(System::String outputFileName)
ParameterTypeDescription
outputFileNameSystem::StringPath to file where the document will be stored.

See Also

Document::Save(System::String, SaveFormat) method

Saves the document with a new name along with a file format.

void Aspose::Pdf::Document::Save(System::String outputFileName, SaveFormat format)
ParameterTypeDescription
outputFileNameSystem::StringPath to file where the document will be stored.
formatSaveFormatFormat options.

See Also

Document::Save(System::String, System::SharedPtr<SaveOptions>) method

Saves the document with a new name setting its save options.

void Aspose::Pdf::Document::Save(System::String outputFileName, System::SharedPtr<SaveOptions> options)
ParameterTypeDescription
outputFileNameSystem::StringPath to file where the document will be stored.
optionsSystem::SharedPtr<SaveOptions>Save options.

See Also