Setting font in existing Redact annotation
My goal is for my addin to get the font from underlying pdf text, and update a redact annotation to use that font.
I now have a font CosObj created from the text using PDEFontGetCosObj.
I also have the redact annotation CosObj created using PDAnnotGetCosObj.
I'm stuck on how to get the font into the redact annotation so that it uses that font. Do I need to use the cos dictionary get and put methods? Ie get key value from the one dictionary, then update the font key value of the other? How do I find out the keys they have?
Am I on the right track?
Any help is appreciated.
Rick
Message was edited by: Richard Grear