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

NameValueDescription
Auto0Wordize automatically selects the most appropriate color space for each image.
SimpleCmyk1Wordize 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