关于老版本iTextSharp生成PDF表格,表格底部拉伸的问题?

图片说明
如图所示,生成的PDF当前界面,因为本页最后一条数据跨页,设置
mTable.TableFitsPage = false;
mTable.AutoFillEmptyCells = true;
mTable.CellsFitPage = true;
无论怎么设置都无法达到效果。
应该有的效果是底部的边框应该与上面的边框连接上,并且第二页的第一条数据也应该正常显示出来,表格设置具体代码如下:
iTextSharp.text.Table mTable = new iTextSharp.text.Table(6);

mTable.Width = 98;

mTable.SetWidths(new int[] { 14, 24, 14, 14, 16, 16 });

mTable.SetAlignment("Center");

                    mTable.Padding = 1.9f;
        mTable.Spacing = 0;
        mTable.Offset = 0;
        mTable.TableFitsPage = false;
        mTable.AutoFillEmptyCells = true;
        mTable.CellsFitPage = true;
        mTable.Border = 0; //iTextSharp.text.Rectangle.NO_BORDER;
        mTable.DefaultCell.Border = iTextSharp.text.Rectangle.ANNOTATION;
        mTable.DefaultCell.BorderWidth = 1;
        mTable.UseVariableBorders = true;
        mTable.BorderWidthBottom = 0.1f;
        mTable.BorderColorBottom = Color.LIGHT_GRAY;
        mTable.DefaultCell.HorizontalAlignment = (Element.ALIGN_LEFT);
        mTable.DefaultCell.VerticalAlignment = Cell.ALIGN_MIDDLE; //(Element.ALIGN_MIDDLE);

求大师指点。补充:通过设置只得到了两个结果,一种结果是自动填充,本页最后一条数据位一个空行,第二页第一行数据间距出问题并缩小;第二种结果就是上图结果,本页最后一行数据拉伸,边框无法对齐

https://blog.csdn.net/weixin_42968194/article/details/100816903