Welcome to the ASP.NET Core feedback portal. We’re happy you’re here! If you have feedback on how to improve the ASP.NET Core, we’d love to hear it!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!

1
Vote

An image (EMF image) is in the First Page Header in the attached Word document.

The image does not exist when accessing the header programmatically.

If I move the image to the body I can access it.

There is a Paragraph entity but it's ChildEntity count is 0:

         

doc.Document.Sections[0].HeadersFooters.FirstPageHeader.Paragraphs[0].ChildEntities

EvenPageHeader.Paragraphs[0] has 3 image child elements with EMF images in them. There should be one in FirstPageHeader.

This is important because I iterate over all the images in the document and if they are an EMF I convert them to jpg using System.Drawing.Common or MagickImage. That way they don't show up as a big red X in Word to PDF conversion.

I verified using Aspose Words that the image is in the First Page Header.

Thanks,

Philip