Hi there,
I am trying to add graphics image(logo of product) in the header area of ultra grid print document.
ug is ultragrid. Here is the code.
Dim ugrpd As New UltraGridPrintDocument ugrpd.Grid = ug UltraPrintPreviewControl1.Document = ugrpd ugrpd.Footer.TextLeft = "Page [Page #] of [Total Pages]" ugrpd.Header.Appearance.Image = My.Resources.LogoPic
In the last line, I am trying to set image to header but does not seem like its working for me.
Is there anything I am missing? Attached is screenshot. I have marked red square where I would like to put image.
Thank you very much
Hello Rashmi,
I am just checking about the progress of this issue. Did you test the sample I have sent to you?
Let me know if you need any further assistance.
Thank you for using Infragistics Components.
I have created a simple sample for you illustrating how to print a picture in print document. More information about the printing you could find here:
http://help.infragistics.com/Help/NetAdvantage/WinForms/2010.2/CLR2.0/html/WinPrintDocument.html
Let me know if you have any further questions.