Hi
i am using print and print preview of ultragrid...
grid.Print(grid.DisplayLayout, ultraGridPrintDocument);
but it has 7000 rows. and i want to that it come into muilti page (according to height) but it's width is fit into in one page.
Thanks
Dilip Natani
Hi Dilip,
To fit the grid onto a single page width, use the FitWidthToPages property.
private void ultraGrid1_InitializePrint(object sender, CancelablePrintEventArgs e) { e.DefaultLogicalPageLayoutInfo.FitWidthToPages = 1; }