PclSaveOptionsSaveFormat Property |
Specifies the format in which the document will be saved if this save options object is used.
Can only be
Pcl.
Namespace:
Aspose.Words.Saving
Assembly:
Aspose.Words (in Aspose.Words.dll) Version: 20.3
Syntaxpublic override SaveFormat SaveFormat { get; set; }
Public Overrides Property SaveFormat As SaveFormat
Get
Set
public:
virtual property SaveFormat SaveFormat {
SaveFormat get () override;
void set (SaveFormat value) override;
}
abstract SaveFormat : SaveFormat with get, set
override SaveFormat : SaveFormat with get, set
Property Value
Type:
SaveFormat
ExamplesShows how rasterized or not transformed elements before saving.
Document doc = new Document(MyDir + "Rendering.docx");
PclSaveOptions saveOptions = new PclSaveOptions
{
SaveFormat = SaveFormat.Pcl,
RasterizeTransformedElements = true
};
doc.Save(ArtifactsDir + "PclSaveOptions.RasterizeElements.pcl", saveOptions);
See Also