saveFormat property

PclSaveOptions.saveFormat property

Specifies the format in which the document will be saved if this save options object is used. Can only be SaveFormat.Pcl.

get saveFormat(): Aspose.Words.SaveFormat

Examples

Shows how to rasterize complex elements while saving a document to PCL.

let doc = new aw.Document(base.myDir + "Rendering.docx");

let saveOptions = new aw.Saving.PclSaveOptions();
saveOptions.saveFormat = aw.SaveFormat.Pcl;
saveOptions.rasterizeTransformedElements = true

doc.save(base.artifactsDir + "PclSaveOptions.RasterizeElements.pcl", saveOptions);

See Also