I am using the “ultraGanttViewPrintDocument” control to preview “ultraGanttView”. How can I know the dimensions of the paper in the “InitializeGanttView” event?
Hello Antonio,
The page and printer related properties are exposed on the UltraGanttViewPrintDocument itself not the Ganttview which is the only event arg of the InitializeGanttView. Keep in mind this GanttView event arg in the event is a new "print" version instance and not the one on-screen. So you can do things like modify the print version of the gantt without affecting what is on-screen.
For more information please visit Customizing the Print Version of the WinGanttView control