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
- Class Document
- Namespace Aspose::Pdf
- Library Aspose.PDF for C++
Document::Save(System::SharedPtr<SaveOptions>) method
Saves the document with save options.
void Aspose::Pdf::Document::Save(System::SharedPtr<SaveOptions> options)
Parameter | Type | Description |
---|---|---|
options | System::SharedPtr<SaveOptions> | Save options. |
See Also
- Class SaveOptions
- Class Document
- Namespace Aspose::Pdf
- Library Aspose.PDF for C++
Document::Save(System::SharedPtr<System::IO::Stream>) method
Stores document into stream.
void Aspose::Pdf::Document::Save(System::SharedPtr<System::IO::Stream> output)
Parameter | Type | Description |
---|---|---|
output | System::SharedPtr<System::IO::Stream> | Stream where document shell be stored. |
See Also
- Class Document
- Namespace Aspose::Pdf
- Library Aspose.PDF for C++
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)
Parameter | Type | Description |
---|---|---|
outputStream | System::SharedPtr<System::IO::Stream> | Stream where the document will be stored. |
format | SaveFormat | Format options. |
See Also
- Enum SaveFormat
- Class Document
- Namespace Aspose::Pdf
- Library Aspose.PDF for C++
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)
Parameter | Type | Description |
---|---|---|
outputStream | System::SharedPtr<System::IO::Stream> | Stream where the document will be stored. |
options | System::SharedPtr<SaveOptions> | Save options. |
See Also
- Class SaveOptions
- Class Document
- Namespace Aspose::Pdf
- Library Aspose.PDF for C++
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)
Parameter | Type | Description |
---|---|---|
response | System::SharedPtr<System::Web::HttpResponse> | Encapsulates HTTP-response information. |
outputFileName | System::String | Simple file name, i.e. without path. |
disposition | ContentDisposition | Represents a MIME protocol Content-Disposition header. |
options | System::SharedPtr<SaveOptions> | Save options. |
See Also
- Enum ContentDisposition
- Class SaveOptions
- Class Document
- Namespace Aspose::Pdf
- Library Aspose.PDF for C++
Document::Save(System::String) method
Saves document into the specified file.
void Aspose::Pdf::Document::Save(System::String outputFileName)
Parameter | Type | Description |
---|---|---|
outputFileName | System::String | Path to file where the document will be stored. |
See Also
- Class Document
- Namespace Aspose::Pdf
- Library Aspose.PDF for C++
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)
Parameter | Type | Description |
---|---|---|
outputFileName | System::String | Path to file where the document will be stored. |
format | SaveFormat | Format options. |
See Also
- Enum SaveFormat
- Class Document
- Namespace Aspose::Pdf
- Library Aspose.PDF for C++
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)
Parameter | Type | Description |
---|---|---|
outputFileName | System::String | Path to file where the document will be stored. |
options | System::SharedPtr<SaveOptions> | Save options. |
See Also
- Class SaveOptions
- Class Document
- Namespace Aspose::Pdf
- Library Aspose.PDF for C++