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
140
UltraGridPrintDocument
posted

When you print a grid with UltraGridPrintDocument, The grid background is printed for a page that does not have a full page of columns and rows.  If this background is a dark color, I wastes a lot of INK/TONER.  Is there a way to turn this off, so that it does not print the background color?

 

Thanks,

 

John C. Hill

  • 469350
    Verified Answer
    Offline posted

    Handle the InitializePrint event of the grid. This event will pass you a Layout object. This is a clone of the grid's layout, soyou can make any changes you like without affecting the on-screen grid. So you could reset the Layout.Appearance.BackColor to remove the Background color from the printed grid.