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
166
UltraGanttViewPrintDocument gantt chart scaling
posted

Is it possible to reduce the size of the printed gantt chart in order to fit more columns onto one page?

On an A4 page, once you have listed a few columns in the grid area there is very little room left for the timeline.

I have tried playing around with args.Graphics.ScaleTransform in the PrintPage event of the PrintDocument to no avail.

Parents
  • 53790
    posted

    Hello mainstay

    Could you please try one of these (or combination ) of the  properties below:

            void ultraGanttViewPrintDocument1_BeginPrint(object sender, System.Drawing.Printing.PrintEventArgs e)

            {

                ultraGanttViewPrintDocument1. AutoSizeGrid = Infragistics.Win.UltraWinGanttView.AutoSizeGrid.SizeColumnsToContent;

                ultraGanttViewPrintDocument1.AutoSizeTimelineColumns = Infragistics.Win.UltraWinGanttView.AutoSizeTimelineColumns.Optimized;

            }

    Please let me know if you have any questions.

    Regards

     

     

Reply Children