Images that are inline with text can be marked as hidden text, and can then become invisible. Floating images can disappear if they are anchored to text marked as hidden.
Word COM API ShowHiddenText will hide images
Hi I have a question regarding the Word C# COM API. In our application we have a button to hide our custom tags (which are just field codes), however a customer of ours is reporting an issue where their background image is being hidden when that button is clicked. The button toggles this value:
NativeActiveDocument.ActiveWindow.View.ShowHiddenText
(Note: NativeActiveDocument is a Microsoft.Office.Interop.Word.Document object)
My question is, what specific property or setting on an image allows it to be hidden by the ShowHiddenText property? Is there a property on an image you can set that will disable it from being hidden? Or is there a different COM API property we can use that will only show/hide text and not impact images?
Thanks in advance!
P.S. Let me know if you need access to the document to view the existing images properties.