public bool HasSpace(double space, int pageCount, bool supposeLastPage)
        {
            var maxGridHeight = PrintingDimension.GetMaxGridHeight(pageCount, supposeLastPage);

            return(maxGridHeight - UsedSpace - space >= 0);
        }
Exemplo n.º 2
0
 public double GetRemainingSpace(int pageCount, bool supposeLastPage)
 {
     return(PrintingDimension.GetHeightForBodyGrid(pageCount, supposeLastPage) - UsedSpace - Threshold);
 }