¡@

Home 

c# Programming Glossary: icellheight

how to print datagridview data on winforms?

http://stackoverflow.com/questions/15853746/how-to-print-datagridview-data-on-winforms

to your project class ClsPrint #region Variables int iCellHeight 0 Used to get set the datagridview cell height int iTotalWidth.. DataGridViewRow GridRow gw.Rows iRow Set the cell height iCellHeight GridRow.Height 5 int iCount 0 Check whether the current page.. page settings allows more rows to print if iTopMargin iCellHeight e.MarginBounds.Height e.MarginBounds.Top bNewPage true bFirstPage..