Aspose::Pdf::Document::Save método
Document::Save() method
Guarda el documento de forma incremental (es decir, usando la técnica de actualización incremental).
void Aspose::Pdf::Document::Save()
Observaciones
Para guardar el documento de forma incremental debemos abrir el archivo del documento para escritura. Por lo tanto, Document debe inicializarse con un flujo de escritura como en el siguiente fragmento de código: Document doc = new Document(new FileStream(“document.pdf”, FileMode.Open, FileAccess.ReadWrite)); // realizar algunos cambios y guardar el documento de forma incremental doc.Save();
Ver también
- Class Document
- Namespace Aspose::Pdf
- Library Aspose.PDF for C++
Document::Save(const System::SharedPtr<SaveOptions>&) method
Guarda el documento con opciones de guardado.
void Aspose::Pdf::Document::Save(const System::SharedPtr<SaveOptions> &options)
| Parámetro | Tipo | Descripción |
|---|---|---|
| opciones | const System::SharedPtr<SaveOptions>& | Opciones de guardado. |
Ver también
- Typedef SharedPtr
- Class SaveOptions
- Class Document
- Namespace Aspose::Pdf
- Library Aspose.PDF for C++
Document::Save(const System::SharedPtr<System::IO::Stream>&) method
Almacena el documento en un flujo.
void Aspose::Pdf::Document::Save(const System::SharedPtr<System::IO::Stream> &output)
| Parámetro | Tipo | Descripción |
|---|---|---|
| output | const System::SharedPtr<System::IO::Stream>& | Flujo donde se almacenará el documento. |
Ver también
- Typedef SharedPtr
- Class Stream
- Class Document
- Namespace Aspose::Pdf
- Library Aspose.PDF for C++
Document::Save(const System::SharedPtr<System::IO::Stream>&, const System::SharedPtr<SaveOptions>&) method
Guarda el documento en un flujo con opciones de guardado.
void Aspose::Pdf::Document::Save(const System::SharedPtr<System::IO::Stream> &outputStream, const System::SharedPtr<SaveOptions> &options)
| Parámetro | Tipo | Descripción |
|---|---|---|
| outputStream | const System::SharedPtr<System::IO::Stream>& | Flujo donde se almacenará el documento. |
| opciones | const System::SharedPtr<SaveOptions>& | Opciones de guardado. |
Ver también
- Typedef SharedPtr
- Class Stream
- Class SaveOptions
- Class Document
- Namespace Aspose::Pdf
- Library Aspose.PDF for C++
Document::Save(const System::SharedPtr<System::IO::Stream>&, SaveFormat) method
Guarda el documento con un nuevo nombre junto con un formato de archivo.
void Aspose::Pdf::Document::Save(const System::SharedPtr<System::IO::Stream> &outputStream, SaveFormat format)
| Parámetro | Tipo | Descripción |
|---|---|---|
| outputStream | const System::SharedPtr<System::IO::Stream>& | Flujo donde se almacenará el documento. |
| formato | SaveFormat | Opciones de formato. |
Ver también
- Typedef SharedPtr
- Class Stream
- Enum SaveFormat
- Class Document
- Namespace Aspose::Pdf
- Library Aspose.PDF for C++
Document::Save(const System::SharedPtr<System::Web::HttpResponse>&, const System::String&, ContentDisposition, const System::SharedPtr<SaveOptions>&) method
Guarda el documento en un flujo de respuesta con opciones de guardado.
void Aspose::Pdf::Document::Save(const System::SharedPtr<System::Web::HttpResponse> &response, const System::String &outputFileName, ContentDisposition disposition, const System::SharedPtr<SaveOptions> &options)
| Parámetro | Tipo | Descripción |
|---|---|---|
| response | const System::SharedPtr<System::Web::HttpResponse>& | Encapsula la información de la respuesta HTTP. |
| outputFileName | const System::String& | Nombre de archivo simple, es decir, sin ruta. |
| disposición | ContentDisposition | Representa un encabezado Content-Disposition del protocolo MIME. |
| opciones | const System::SharedPtr<SaveOptions>& | Opciones de guardado. |
Ver también
- Typedef SharedPtr
- Class HttpResponse
- Class String
- Enum ContentDisposition
- Class SaveOptions
- Class Document
- Namespace Aspose::Pdf
- Library Aspose.PDF for C++
Document::Save(const System::String&) method
Guarda el documento en el archivo especificado.
void Aspose::Pdf::Document::Save(const System::String &outputFileName)
| Parámetro | Tipo | Descripción |
|---|---|---|
| outputFileName | const System::String& | Ruta al archivo donde se almacenará el documento. |
Ver también
- Class String
- Class Document
- Namespace Aspose::Pdf
- Library Aspose.PDF for C++
Document::Save(const System::String&, const System::SharedPtr<SaveOptions>&) method
Guarda el documento con un nuevo nombre estableciendo sus opciones de guardado.
void Aspose::Pdf::Document::Save(const System::String &outputFileName, const System::SharedPtr<SaveOptions> &options)
| Parámetro | Tipo | Descripción |
|---|---|---|
| outputFileName | const System::String& | Ruta al archivo donde se almacenará el documento. |
| opciones | const System::SharedPtr<SaveOptions>& | Opciones de guardado. |
Ver también
- Class String
- Typedef SharedPtr
- Class SaveOptions
- Class Document
- Namespace Aspose::Pdf
- Library Aspose.PDF for C++
Document::Save(const System::String&, SaveFormat) method
Guarda el documento con un nuevo nombre junto con un formato de archivo.
void Aspose::Pdf::Document::Save(const System::String &outputFileName, SaveFormat format)
| Parámetro | Tipo | Descripción |
|---|---|---|
| outputFileName | const System::String& | Ruta al archivo donde se almacenará el documento. |
| formato | SaveFormat | Opciones de formato. |
Ver también
- Class String
- Enum SaveFormat
- Class Document
- Namespace Aspose::Pdf
- Library Aspose.PDF for C++