Convert to Smyk PDF (

Hi,
sorry for the stupid question! (:
is it possible to export and then convert sfDiagram to the smyk pdf with the smyk fonts?
i have tried something like this but the text-fonts are still rgb:

diagram.ExportSettings = new ExportSettings
{
 ImageStretch = Stretch.Uniform,
 ExportMode = ExportMode.PageSettings,
 FileName = fileName,
 IsSaveToXps = true
};
diagram.Export();

var converter = new XPSToPdfConverter{};

await Task.Delay(100);

var document = new PdfDocument(PdfConformanceLevel.Pdf_A1B)
{
 PageSettings = new PdfPageSettings(new SizeF(1130, 903), PdfPageOrientation.Landscape),
 ColorSpace = PdfColorSpace.CMYK,
};
document = converter.Convert(fileName);
document.Save(fileName);
document.Close(true);
   
thanks!
regards
viktor

1 Reply

SL Sowmiya Loganathan Syncfusion Team May 23, 2018 01:19 PM UTC

Hi Viktor, 

At present we do not have support to change the color space of the PDF document when converting XPS to PDF document. We do only support this on PDF creation. Please let us know if you need any further assistance on this. 

Regards, 
Sowmiya L 


Loader.
Up arrow icon