PdfSaveOptions.ImageColorSpaceExportMode
PdfSaveOptions ImageColorSpaceExportMode property. Specifies how the color space will be selected for the images in PDF document.
PdfSaveOptions.ImageColorSpaceExportMode property
Specifies how the color space will be selected for the images in PDF document.
public PdfImageColorSpaceExportMode ImageColorSpaceExportMode { get; set; }
Remarks
The default value is Auto.
If SimpleCmyk value is specified, ImageCompression
option is ignored and Flate compression is used for all images in the document.
SimpleCmyk value is not supported when saving to PDF/A. Auto value will be used instead.
Examples
Shows how to specify image color space in PDF.
PdfSaveOptions pdfSaveOptions = new PdfSaveOptions();
pdfSaveOptions.ImageColorSpaceExportMode = PdfImageColorSpaceExportMode.SimpleCmyk;
Converter.Create()
.From(MyDir + "Simple.docx")
.To(ArtifactsDir + "PdfSaveOptions.ImageColorSpaceExportMode.pdf", pdfSaveOptions)
.Execute();
See Also
- enum PdfImageColorSpaceExportMode
- class PdfSaveOptions
- namespace Wordize.Saving
- assembly Wordize