public PDFReport()
 {
     this.document   = new Document();
     this.pageLayout = new PageLayout();
     this.bodyBottom = this.pageLayout.Dimensions.Body.Bottom - this.pageLayout.Dimensions.Body.Top;
 }
 public void SetPageLayOut(object layout)
 {
     this.pageLayout = (PageLayout)layout;
     this.bodyBottom = pageLayout.Dimensions.Body.Bottom - pageLayout.Dimensions.Body.Top;
 }