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