I have attached a word document with an inline image in a hidden paragraph. The hidden paragraph was created by highlighting the entire paragraph including the image and the end of paragraph marker then clicking the font hidden attribute.
Using the code below, I am trying to unhide the paragraph and all its content including the image. I am getting all the text and the end of paragraph marker un-hidden but not the image. I have looked at the Shape object but I can’t find anything that looks like the hidden attribute. How do I make the image visible using Aspose.Words?
var hidden = from Words.Run r in doc.GetChildNodes(Words.NodeType.Run, true, true)
where r.Font.Hidden == true
select r;
foreach(Words.Run r in hidden)
{
r.Font.Hidden = false;
r.ParentParagraph.ParagraphBreakFont.Hidden = false;
}