Esempio n. 1
0
 public void PrintImageButton_Click(object sender, ImageClickEventArgs e)
 {
     // Print the task hierarchy column and a selected timeline page of 5 weeks (timeline end week extensions would be added automatically, if necessary).
     // Optionally, to rotate the print output and simulate Landscape printing mode (when the end user keeps Portrait selection in the Print dialog), append the rotate parameter set to true to the method call: rotate: true.
     ScheduleChartView.Print(title: "Schedule Chart (printable)", isGridVisible: true, columnIndexes: new[] { 1 }, timelineStart: new DateTime(year, month, 1), timelineFinish: new DateTime(year, month, 1).AddDays(5 * 7), preparingMessage: "...");
 }
 private void PrintButton_Click(object sender, RoutedEventArgs e)
 {
     ScheduleChartView.Print("ScheduleChartView Sample Document");
 }