Пример #1
0
 public IntermediatePageCell(GridDocumentRow row, GridDocumentCell cell, double x, double y, double width, double height)
 {
     Row    = row;
     Cell   = cell;
     X      = x;
     Y      = y;
     Width  = width;
     Height = height;
 }
Пример #2
0
 public double CalculateRowHeight(Graphics g, GridDocumentRow row)
 {
     return(!row.Cells.Any() ? 3 : row.Cells.Select(cell => CalculateCellHeight(g, cell)).Max());
 }