Aspose::Words::Saving::PclSaveOptions::get_RasterizeTransformedElements method

PclSaveOptions::get_RasterizeTransformedElements method

Gets or sets a value determining whether or not complex transformed elements should be rasterized before saving to PCL document. Default is true.

bool Aspose::Words::Saving::PclSaveOptions::get_RasterizeTransformedElements() const

Examples

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

auto doc = MakeObject<Document>(MyDir + u"Rendering.docx");

auto saveOptions = MakeObject<PclSaveOptions>();
saveOptions->set_SaveFormat(SaveFormat::Pcl);
saveOptions->set_RasterizeTransformedElements(true);

doc->Save(ArtifactsDir + u"PclSaveOptions.RasterizeElements.pcl", saveOptions);

See Also