PdfImageColorSpaceExportMode Enum
Wordize.Saving.PdfImageColorSpaceExportMode enum. Specifies how the color space will be selected for the images in PDF document.
PdfImageColorSpaceExportMode enumeration
Specifies how the color space will be selected for the images in PDF document.
public enum PdfImageColorSpaceExportMode
Values
Name | Value | Description |
---|---|---|
Auto | 0 | Wordize automatically selects the most appropriate color space for each image. |
SimpleCmyk | 1 | Wordize coverts RGB images to CMYK color space using simple formula. |
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
- namespace Wordize.Saving
- assembly Wordize