color blend

PDF-XChange Viewer SDK for Developer's
(ActiveX and Simple DLL Versions)

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

fabrizio
User
Posts: 33
Joined: Fri Jul 02, 2010 1:58 pm

color blend

Post by fabrizio »

Hi, I'm using PDF X-Change in order to highlight some lines in a PDF file. Sometimes I need to highlight over a line that it's already highlighted (with a differnet color). I would like te final color to be the one I used for the last highlight (and still showing text). I tried different blend modes, but can't obtain this effect. Is there a way to do that?
I attached a sample.
Thank you
Fabrizio
You do not have the required permissions to view the files attached to this post.
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19913
Joined: Mon Jan 12, 2009 8:07 am

Re: color blend

Post by Stefan - PDF-XChange »

Hello Fabrizio,

I don't think you can achieve this, as the highlight is actually an annotation locked on top of the text - and with a blend mode set to Multiply.
So while no other annotations with Multiply blend mode are overlapping this - all looks fine, but when you have an overlap - the result is as per your image. Unfortunately none of the other blend modes could produce exactly the result you want.

The closest I could get was to change the blend mode for one of these to "Exclusion" - but then the text in the middle, and the overlapping section change colour as well.

The solution I could think of is to use e.g. Yellow and Red - then the overlap will remain red.

Other possible combinations are one of the three base colours (Red,Green, Blue) - and one consisting of two of the base at 100% - e.g.
Red and Magenta (100% Red + 100% Blue),
Green and Cyan (Green + Blue) etc.

Best,
Stefan
fabrizio
User
Posts: 33
Joined: Fri Jul 02, 2010 1:58 pm

Re: color blend

Post by fabrizio »

Thank you for the answer
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19913
Joined: Mon Jan 12, 2009 8:07 am

Re: color blend

Post by Stefan - PDF-XChange »

You are welcome Fabrizio

Cheers,
Stefan