PdfOptionsSaveMetafilesAsPng Property

True to convert all metafiles used in a presentation to the PNG images. Read/write Boolean.

Namespace:  Aspose.Slides.Export
Assembly:  Aspose.Slides (in Aspose.Slides.dll) Version: 21.4.0.0 (21.4)
Syntax
public bool SaveMetafilesAsPng { get; set; }

Property Value

Type: Boolean

Implements

IPdfOptionsSaveMetafilesAsPng
Remarks
Default is true. Pdf document can contain vector graphics and raster images. If SaveMetafilesAsPng is set to true then source Metafile image is converted to Png format and saved to Pdf as a raster image. If SaveMetafilesAsPng is set to false then source Metafile is converted to Pdf vector graphics. Each approach has advantages and disadvantages.For example, if Metafile is converted to PNG, then some quality loss is possible during resulting document scaling.If Metafile is converted to Pdf vector graphics, then performance issues in Pdf viewing tool are possible.
See Also