Need to change font color
Hi All,
I am beginner of acrobat scripting.
My requirement is, i need to find font size more than 12 and change color to black. Not sure how to start my coding.
Please help.
Regards,
K
Hi All,
I am beginner of acrobat scripting.
My requirement is, i need to find font size more than 12 and change color to black. Not sure how to start my coding.
Please help.
Regards,
K
As was already explained, you don't have access to text colors from within a JavaScript, there are also no actions you can apply. The only way to accomplish this is via the plug-in API. You can create your own plug-in, but I would advice against that because there are plug-ins available that perform this type of modifications. One that I am aware of is the Enfocus PitStop Pro preflight tool (unfortunately, this feature is not built into Acrobat's own Preflight tool). You can create a PitStop preflight profile that changes the color of text of a certain font size. PitStop is not cheap, but it's definitely cheaper than building your own tool.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.