PdfSaveOptions.PreblendImages
PdfSaveOptions PreblendImages property. Gets or sets a value determining whether or not to preblend transparent images with black background color.
PdfSaveOptions.PreblendImages property
Gets or sets a value determining whether or not to preblend transparent images with black background color.
public bool PreblendImages { get; set; }
Remarks
Preblending images may improve PDF document visual appearance in Adobe Reader and remove anti-aliasing artifacts.
In order to properly display preblended images, PDF viewer application must support /Matte entry in soft-mask image dictionary. Also preblending images may decrease PDF rendering performance.
The default value is false
.
Examples
Shows how to enable transparent images preblending in PDF.
PdfSaveOptions pdfSaveOptions = new PdfSaveOptions();
pdfSaveOptions.PreblendImages = true;
Converter.Create()
.From(MyDir + "TestSpliter.docx")
.To(ArtifactsDir + "PdfSaveOptions.PreblendImages.pdf", pdfSaveOptions)
.Execute();
See Also
- class PdfSaveOptions
- namespace Wordize.Saving
- assembly Wordize