save_format property
PclSaveOptions.save_format property
Specifies the format in which the document will be saved if this save options object is used. Can only be SaveFormat.PCL.
@property
def save_format(self) -> aspose.words.SaveFormat:
...
@save_format.setter
def save_format(self, value: aspose.words.SaveFormat):
...
Examples
Shows how to rasterize complex elements while saving a document to PCL.
doc = aw.Document(file_name=MY_DIR + 'Rendering.docx')
save_options = aw.saving.PclSaveOptions()
save_options.save_format = aw.SaveFormat.PCL
save_options.rasterize_transformed_elements = True
doc.save(file_name=ARTIFACTS_DIR + 'PclSaveOptions.RasterizeElements.pcl', save_options=save_options)
See Also
- module aspose.words.saving
- class PclSaveOptions