Moderators:PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Paul - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange
Forum rules DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.
When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
when I tested the color replacement with different pdf files. I found a weird problem. I one pdf I wanted to replace yellow by green but the color of the background changes too (see picture).
before
after
I investigated the pdf source code and found out that a "stroke path" (Path Painting Operator 'S') is replaced by "fill then stroke path" (Path Painting Operator 'B').
Is this a bug in the SDK or is something wrong in my code?
I attached a sample project (VS2013/C#) if somebody want to reproduce this behaviour.
Thanks for your comments
You do not have the required permissions to view the files attached to this post.
attached is my sample project (VS2013 / C#). It shows a simple menu. With "Load" you can load the sample pdf and with "Change color" the yellow parts should be changed to green. unfortunately the white background becomes green too.
Thank you for your support
Michael
You do not have the required permissions to view the files attached to this post.