public double GetRemainingSpace(int pageCount, bool supposeLastPage)
 {
     return(PrintingDimension.GetHeightForBodyGrid(pageCount, supposeLastPage) - UsedSpace - Threshold);
 }
        public bool HasSpace(double space, int pageCount, bool supposeLastPage)
        {
            var maxGridHeight = PrintingDimension.GetHeightForBodyGrid(pageCount, supposeLastPage);

            return(maxGridHeight - UsedSpace - space >= 0);
        }