Header + Image. No Image in print preview

I have document (see attachment) with header. Header have image, When I run Print preview image is not exists in header… How I can resolve it

Also I tried to do this with both versions and .

Source code

var doc2 = new Aspose.Words.Document(@"E:\rrrr2.doc");

PrintPreviewDialog previewDlg = new PrintPreviewDialog();
// Show non-modal first is a hack for the print preview form to show on top.

// Initialize the Print Dialog with the number of pages in the document.
PrintDialog printDlg = new PrintDialog();
printDlg.AllowSomePages = true;
printDlg.PrinterSettings.MinimumPage = 1;
printDlg.PrinterSettings.MaximumPage = doc2.PageCount;
printDlg.PrinterSettings.FromPage = 1;
printDlg.PrinterSettings.ToPage = doc2.PageCount;

if (!printDlg.ShowDialog().Equals(DialogResult.OK))

// Create the Aspose.Words’ implementation of the .NET print document 
// and pass the printer settings from the dialog to the print document.
AsposeWordsPrintDocument awPrintDoc = new AsposeWordsPrintDocument(doc2);
awPrintDoc.PrinterSettings = printDlg.PrinterSettings;

// Hide and invalidate preview is a hack for print preview to show on top.

// Pass the Aspose.Words’ print document to the .NET Print Preview dialog.
previewDlg.Document = awPrintDoc;


Thanks for your request. The problem occurs because logo in the header is created using WordArt objects. This is the known issue #7114 in our defect database.
As a workaround, you can insert logo as raster image. See the attached document for instance.
Best regards.

The issues you have found earlier (filed as 7114) have been fixed in this update.

This message was posted using Notification2Forum from Downloads module by aspose.notifier.