Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
395
adding graphics in the page header ultra grid print document
posted

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