c# - iTextsharp CMYK colors result in another color -


i'm working on little project need create pdf containging table text. table supposed have background color. testing sake i've simplified code this:

            using(var output = new memorystream())             using (var document = new document(pagesize.a4, 0, 0, 50, 120))             {                 pdfwriter.getinstance(document, output);                  document.open();                  var table = new pdfptable(1);                 table.addcell(new pdfpcell(new phrase("blah blah blah")) {backgroundcolor = new cmykcolor(11, 8, 1, 0)});                 document.add(table);                  document.close();                 file.writeallbytes("e:\\test.pdf", output.getbuffer());             } 

as see i've set background color. yet somehow it's resulting in different color i'm expecting.

the color seems different somehow

can me figuring out doing wrong?

tia


Comments

Popular posts from this blog

How to check data type in C++? -

javascript - Is getTimezoneOffset() stable during daylight saving transition? -

formula - R: how to pass in a reference to the variable in glm or lm? -