protected static void FillBackGround (iTextSharp.text.pdf.PdfContentByte contentByte, IBaseStyleDecorator style, iTextSharp.text.Rectangle rectangle) { contentByte.SetColorFill(style.PdfBackColor); contentByte.Rectangle (rectangle.Left, rectangle.Top - rectangle.Height , rectangle.Width,rectangle.Height); contentByte.Fill(); }