For the CMYK alternate, use ( 0, 0, 0, 1) instead. You can check your PDF with tools such as Adobe Acrobat & its Output preview.
-----Original Message----- From: Mathias Nilsson [mailto:wicket.program...@gmail.com] Sent: Thursday, February 18, 2010 2:56 PM To: itext-questions@lists.sourceforge.net Subject: Re: [iText-questions] Separation color for cut marks Thanks! This is what I ended up with. I can not test this so I don't know if it is correct. PdfContentByte cb = writer.getDirectContent(); cb.setLineWidth( 0.1f ); cb.setColorStroke(new PdfSpotColor( "All", 1f, new CMYKColor( 1f, 1f, 1f, 1f ) ) , 1f); // MoveTo and LineTo cb.stroke(); -- View this message in context: http://old.nabble.com/Separation-color-for-cut-marks-tp27637814p27644715.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/ ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/