So I have code now that finds the spot color names in the dictionary
<<snippets>>
Dim pobj As PdfObject = CType(dictEnum.Value, PdfObject)
Dim parr As PdfArray = CType(pobj, PdfArray)
spotColorName As String =
PdfName.DecodeName(parr.ArrayList.Item(1).ToString)

but for the life of me, I cannot figure out how to change the color name.
Any help would be appreciated.

Thanks
Dean


On Thu, Feb 7, 2013 at 3:07 PM, Leonard Rosenthol <lrose...@adobe.com>wrote:

> ARGH!!!
>
> I need to go shoot the Scene 7 guys – sorry about that.
>
> As to your question…I believe you can use the lowest level APIs in iText
> to fix this, though I'll leave details to Bruno and team.
>
> Leonard
>
> From: Dean Johnson <dean.john...@rrd.com>
> Reply-To: Post here <itext-questions@lists.sourceforge.net>
> Date: Thursday, February 7, 2013 11:46 AM
> To: Post here <itext-questions@lists.sourceforge.net>
> Subject: Re: [iText-questions] Rename Spot Colors
>
> I agree, hard to believe.
> Two files attached showing two different colors but named the same.
>
> Dean
>
>
> On Thu, Feb 7, 2013 at 1:24 PM, Leonard Rosenthol <lrose...@adobe.com>wrote:
>
>> I find it hard to believe that the actual names of the spot colors are
>> MAIN and ACCENT.  Can you provide a sample that demonstrates this???
>>
>> Leonard
>>
>> From: Dean Johnson <dean.john...@rrd.com>
>> Reply-To: Post here <itext-questions@lists.sourceforge.net>
>> Date: Thursday, February 7, 2013 10:27 AM
>> To: Post here <itext-questions@lists.sourceforge.net>
>> Subject: [iText-questions] Rename Spot Colors
>>
>> I'm working on a project where I receive PDFs from an Adobe Secene7 web
>> site offering various printed products. As I understand it the user can
>> select a color palette as one of the options from within the product
>> template. My job is to produce the printed pieces and consistantly match
>> the color palette on our iGen digital press where we will set up color
>> match libraries for each color in the palette. My problem is that the spot
>> color names on the incoming PDFs are all called the same, i.e., MAIN COLOR
>> or ACCENT COLOR, even though the colors are different, i.e., MAIN may be
>> purple in one file, while green in another. So there is no way to set up
>> color definitions for color management on the iGen.
>>
>> Question -- is there some way using iText to rename the spot colors
>> within the PDFs -- I can get the correct color names from the order file
>> that comes with the PDFs.
>>
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Free Next-Gen Firewall Hardware Offer
>> Buy your Sophos next-gen firewall before the end March 2013
>> and get the hardware for free! Learn more.
>> http://p.sf.net/sfu/sophos-d2d-feb
>> _______________________________________________
>> iText-questions mailing list
>> iText-questions@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/itext-questions
>>
>> iText(R) is a registered trademark of 1T3XT BVBA.
>> Many questions posted to this list can (and will) be answered with a
>> reference to the iText book: http://www.itextpdf.com/book/
>> Please check the keywords list before you ask for examples:
>> http://itextpdf.com/themes/keywords.php
>>
>
>
>
> ------------------------------------------------------------------------------
> Free Next-Gen Firewall Hardware Offer
> Buy your Sophos next-gen firewall before the end March 2013
> and get the hardware for free! Learn more.
> http://p.sf.net/sfu/sophos-d2d-feb
> _______________________________________________
> iText-questions mailing list
> iText-questions@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/itext-questions
>
> iText(R) is a registered trademark of 1T3XT BVBA.
> Many questions posted to this list can (and will) be answered with a
> reference to the iText book: http://www.itextpdf.com/book/
> Please check the keywords list before you ask for examples:
> http://itextpdf.com/themes/keywords.php
>
------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to