Hello,
I use the controls UltraGridPrintDocument and UltraPrintPreviewDialog to get data in a WinGrid be printed. All the data in the grid is shown correctly. After binding the grid to UltraGridPrintDocument.Grid and showing this document in the Preview dialog, the columns get smaller and some of the values are cut and shown with an ellipsis (...). There's still enough space to the right border to fit in all the columns in a suitable width.
What can I do to avoid this unreadable printed output?!
Thanks for your help!
Hello again,
partly I found the answer myself:
this.ultraGridPrintDocument1.FitWidthToPages = 1;
This is to be done explicitly, then the whole space of the page is used. This works fine when the data fits into the Grid without need of a scrollbar.
BUT: when a horizontal scrollbar in the WinGrid is needed, because a Treeview is used, then the PrintDocument shows the ellipsis again.