BorderRenderer CreateBorderRenderer(Border border, BorderType borderType) { BorderRenderer brdrRndrr = new BorderRenderer(border, this.docRenderer); brdrRndrr.ParentCell = this.parentCell; brdrRndrr.ParentFormat = this.parentFormat; brdrRndrr.BorderType = borderType; return brdrRndrr; }