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
4133
Suppress Grid Area When Printing GanttView
posted

Is there any way to suppress the grid area when printing the GanttView?  

Parents
  • 12480
    Verified Answer
    Offline posted

    Hi Richard,

    You can accomplish this by setting the DisplayAreas property in the UltraGanttViewPrintDocument's InitializeGanttView event. This will only impact printing and should have no effect on the application's UI.

    private void ultraGanttViewPrintDocument1_InitializeGanttView(object sender, Infragistics.Win.UltraWinGanttView.Printing.InitializeGanttViewEventArgs e)
            {
                e.Control.DisplayAreas = Infragistics.Win.UltraWinGanttView.DisplayAreas.TimelineOnly;
            } 

    Please try this out and let me know whether it works for you.

Reply Children
No Data