Create the PdfSpotColor object using the name "All" - that's what you need to do.
Have you tried it? What do you get and why isn't it correct? Leonard -----Original Message----- From: George Bilalis [mailto:grg_b...@hotmail.com] Sent: Tuesday, November 24, 2009 4:54 AM To: itext-questions@lists.sourceforge.net Subject: Re: [iText-questions] How?: Drawing typographers marks using Registration Black Hi, >From iText API, you can set a colorStroke in 2 flavors: setColorStroke public void setColorStroke(Color color)Sets the stroke color. color can be an ExtendedColor. Parameters: color - the color -------------------------------------------------------------------------------- setColorStroke public void setColorStroke(PdfSpotColor sp, float tint)Sets the stroke color to a spot color. Parameters: sp - the spot color tint - the tint for the spot color. 0 is no color and 1 is 100% color -------------------------------------------------------------------------------- Registration (typographers) marks have to appear in ALL separated color plates of a multicolor job (CMYK plus Spot colors). What named color should I use according to the above definitions? I know I have to use a colorSpace "separation" and a colorant "All" according to PDF reference, but I can't see how to accomplish this with above API definitions. (I hope this helps you understand the nature of my question) George 1T3XT info wrote: > > George Bilalis wrote: >> Well, No. >> >> SetColorFill is for filling the "interior area" of shapes, while a line >> is >> an abstract of 2 points with no interior. > > What about one of the setColorStroke methods? I can't give a more > concrete answer because I don't understand the problem. > -- > This answer is provided by 1T3XT BVBA > http://www.1t3xt.com/ - http://www.1t3xt.info > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > 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/ > > -- View this message in context: http://old.nabble.com/How-%3A-Drawing-typographers-marks-using-Registration-Black-tp26421239p26493155.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ 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/ ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ 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/