save method
save
Saves the document data to the underlying stream.
def save(self):
...
Example
Remove particular text fragments from the email message body/subject and save the email message.
save
Saves the document to the specified file location.
def save(self, file_path):
...
Parameter | Type | Description |
---|---|---|
file_path | str | The file path to save the document data to. |
Example
Add the watermark and save the document to another file.
save
Saves the document to the specified stream.
def save(self, document):
...
Parameter | Type | Description |
---|---|---|
document | io.RawIOBase | The stream to save the document data to. |
Example
Add watermark and save the document to the memory stream.
save
Saves the document data to the underlying stream using save options.
def save(self, options):
...
Parameter | Type | Description |
---|---|---|
options | groupdocs.watermark.options.SaveOptions | Additional options to use when saving a document. |
Example
Add watermark and save the document with default SaveOptions
.
save
Saves the document to the specified file location using save options.
def save(self, file_path, options):
...
Parameter | Type | Description |
---|---|---|
file_path | str | The file path to save the document data to. |
options | groupdocs.watermark.options.SaveOptions | Additional options to use when saving a document. |
Example
Add the watermark and save the document to another file with default SaveOptions
.
save
Saves the document to the specified stream using save options.
def save(self, document, options):
...
Parameter | Type | Description |
---|---|---|
document | io.RawIOBase | The stream to save the document data to. |
options | groupdocs.watermark.options.SaveOptions | Additional options to use when saving a document. |
Example
Add watermark and save the document to the memory stream with default SaveOptions
.
See Also
- module
groupdocs.watermark
- class
SaveOptions
- class
WatermarkResult
- class
Watermarker