RadPrintDocument - Header Overlapping Content

1 posts, 0 answers
  1. Mary
    Mary avatar
    12 posts
    Member since:
    Jul 2014

    Posted 02 Jun Link to this post



    I'm having a problem with setting a header in a radprintdocument. I'm setting a leftheader only. It looks fine on the the first page, but on further pages, it prints on top of the content of the document -- as in, the content and the header start at the same point on the page, instead of the content being printed below the header.


    Here's my code:


            Header = "Date: " & lblDateTime.Text & " To: " & txtTo.Text

            If txtCC.Text <> "" Then
                Header = Header & " CC: " & txtCC.Text
            End If

            Document.LeftHeader = Header
            Document.DefaultPageSettings.Landscape = False
            Document.DefaultPageSettings.PrinterSettings.Copies = 1
            Document.AssociatedObject = txtEmail
            Document.PrinterSettings.PrinterName = Printer


Back to Top