emulate_raster_operations property

MetafileRenderingOptions.emulate_raster_operations property

Gets or sets a value determining whether or not the raster operations should be emulated.

@property
def emulate_raster_operations(self) -> bool:
    ...

@emulate_raster_operations.setter
def emulate_raster_operations(self, value: bool):
    ...

Remarks

Specific raster operations could be used in metafiles. They can not be rendered directly to vector graphics. Emulating raster operations requires partial rasterization of the resulting vector graphics which may affect the metafile rendering performance.

When this value is set to True, Aspose.Words emulates the raster operations. The resulting output maybe partially rasterized and performance might be slower.

When this value is set to False, Aspose.Words does not emulate the raster operations. When Aspose.Words encounters a raster operation in a metafile it fallbacks to rendering the metafile into a bitmap by using the operating system.

This option is used only when metafile is rendered as vector graphics.

The default value is True.

See Also