We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Font Colorspace Changes


I have a problem with the colorspace in the PDF. I create PDF (word to pdf), afterwards I add with TextStates some Text fields to the previous PDF (inside of TextParagraph and TextBuilder). I set also the Font Color:

ts.ForegroundColor = Aspose.Pdf.Color.FromRgb(0, 0, 0);
ts.BackgroundColor = Aspose.Pdf.Color.FromRgb(0, 0, 0);

When I now generate the PDF and look at the Font Color with the Adobe Professional I see that it is now a CMYK colorspace and not the black color anymore. (I tried different option… setting to .Black, FromCMYK(…) all did not help)

What can I do to keep the black also in CMYK. Currently we have a very critical issue with this on a mass printing job. We must get CMYK black for that printing.

Any help would be very appreviated.


Hi Andreas,

Thanks for contacting support

Can you please share the complete code snippet along with resource files (input and output PDF documents), so that we can test the scenario in our environment. We are sorry for this inconvenience.