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
620
Include header in Display or Print of WinGrid
posted

Is there a way to specify page header and/or footer text when you print/display the WinGrid using the call below:

Dim

 

 

c_pdSetup As New System.Drawing.Printing.PrintDocument()

 

 

WinGrid.PrintPreview(WinGrid.DisplayLayout, c_pdSetup)

Parents
  • 469350
    Offline posted


            private void ultraGrid1_InitializePrintPreview(object sender, CancelablePrintPreviewEventArgs e)
            {
                e.DefaultLogicalPageLayoutInfo.PageHeader = "My Page Header";
                e.DefaultLogicalPageLayoutInfo.PageFooter = "My Page Footer";
            }

Reply Children