Hi
I am using UltraDayView and want to add header and footer image duting print.
When i am adding image and BackColor in header it is not showing image in print preview but only color is updated in header.I am using below code...
Infragistics.Win.AppearanceBase headerApp = ultraSchedulePrintDocument1.Header.Appearance;
headerApp.Image = System.Drawing.Image.FromFile(imagePathHeader);
Hello avlindia,
I wanted to know if you were able to solve your issue based on that suggestion or you still need help. Please let me know.
You could use the 'PageHeaderPrinting' for that, please take a look, try it and let me know of the result:
private void ultraSchedulePrintDocument1_PageHeaderPrinting(object sender, Infragistics.Win.Printing.HeaderFooterPrintingEventArgs e)
{
e.Graphics.DrawImage(System.Drawing.Image.FromFile(imagePathHeader), new Point(0,0));
}