Print hidden header picture

In our SharePoint environment we use aspose to print pdf documents form office documents.

The challenge we face is that our customer uses a hidden picture in the header of a word document.

At the moment the picture is not visible when we print the documents to PDF.

Is there a setting or something in Aspose to print these hidden pictures in the header?

In other words, to make them visable in the PDF document?

Thanks in advance!

Hi Eric,

You can convert hidden pictures to visible pictures before conversion using the following code:

Document doc = new Document("HeaderImage.doc");

<?xml:namespace prefix = "o" ns = "urn:schemas-microsoft-com:office:office" />

NodeCollection shapes = doc.GetChildNodes(NodeType.Shape, true);

int imageIndex = 0;

foreach (Shape shape in shapes)

{

if (shape.HasImage)

{

shape.Font.Hidden = true;

imageIndex++;

}

}

Best Regards,