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
550
WinPrintPreviewDialog: Ellipsis because value doesn't fit into column
posted

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!

Parents
No Data
Reply
  • 550
    posted

    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.

Children
No Data