save method
Contents
[
Hide
]
save
Saves the document to a file with the following options: AddSuffix = true, RasterizeToPDF = true.
Returns
Path to redacted document
def save(self):
...
save
Saves the document to a file.
Returns
Path to redacted document
def save(self, save_options):
...
| Parameter | Type | Description |
|---|---|---|
| save_options | groupdocs.redaction.options.SaveOptions | Options to add suffix or rasterize |
Example
The following example demonstrates how to save a document using SaveOptions.
save
Saves the document to a stream, including custom location.
def save(self, document, rasterization_options):
...
| Parameter | Type | Description |
|---|---|---|
| document | io.RawIOBase | Target stream |
| rasterization_options | groupdocs.redaction.options.RasterizationOptions | Options to rasterize or not and to specify pages for rasterization |
Example
The following example demonstrates how to set options for the rasterization process.
See Also
- module
groupdocs.redaction - class
Redactor