Has the ultraganttview finally got printing functionality? It has been over 2 year, surely it cannot be that difficult to implement.
Hi,
I suppose that your question is connected with the previous post http://community.infragistics.com/forums/p/51472/277316.aspx#277316 . At that moment our UltraGanttView controls still does not support printing functionality, but maybe you could used one fo these approaches below:
Option 1: using CreateGraphics() method
Bitmap bmp = new Bitmap(1000, 1000, ultraGanttView1.CreateGraphics()); ultraGanttView1.DrawToBitmap(bmp, new Rectangle(0, 0, 1000, 1000)); bmp.Save("..\\..\\Test.bmp"); Process.Start("..\\..\\Test.bmp");
Bitmap bmp = new Bitmap(1000, 1000, ultraGanttView1.CreateGraphics());
ultraGanttView1.DrawToBitmap(bmp, new Rectangle(0, 0, 1000, 1000));
bmp.Save("..\\..\\Test.bmp");
Process.Start("..\\..\\Test.bmp");
Option 2: using ultraSchedulePrintDocument1 and InitializeTimelineView() event. Please take a look at the attached sample for more details. Also you could used InitializeWeekView(), InitializeMonthViewSingle() and so on events
Let me know if you have any questions.