12-08-19, 12:38 AM
فعلا الكود أعلاه يحتاج تطوير، وهذا تعديل لجزئية بسيطة هكذا
PHP كود :
For Each cell As DataGridViewCell In row.Cells
Dim w = e.PageBounds.Width - cell.Size.Width
Dim rc As RectangleF = New RectangleF(w - x, y, cell.Size.Width, cell.Size.Height)
Dim rrc As RectangleF = New RectangleF(w - x, 210, cell.Size.Width, cell.Size.Height)
e.Graphics.DrawRectangle(Pens.Black, rc.Left, rc.Top, rc.Width, rc.Height)
